>>First, I must admit webwork1.x is a wonderful framework for Java web development. My >>>workmates and I have benefit from your valuable contribution so much. >> >>Now, since ww2.0 is under development, I want to give my own suggestions. I wish it >>>could do some help. >> >>In ww1.x 's framework, we must implements an additional layer of "Action" besides >the >>normal system, which composed of Entity objects, value objects and stateless >sessions. >>Though we could generate it with xdoclet, it's still no so pleasant. >> >>In ww2.x, could this action layer be removed? That is, we could use ww's view >>>technologies directly with normal systems. If this could be done, I think it will >be >>great relief to ww application developers. >> >>Here is my immature idea: >>In Rickcard's AOP framework, not only method, but also Class could be advised. So we >>>could implement a value stack by the side aspect. >> >>For example, the below statless session is modified from the example in ww2.0's cvs: >> >>public class CounterAwareImpl implements CounterAware >> public int increment(Counter counter) >> { >> counter.incrementCount(); >> >> return counter.getCount(); >> } >>} >> >>after invocation of increment(Counter) from view, we cound use >>((ValueStack)counterAwareImpl).findValue("increment:counter") to get counter Object; >>>use ((ValueStack)counterAwareImpl).findValue("increment:result") to get return >value. >> >>A webwork enthusiast.
Maybe I asked a foolish question or my english is poor ( I am not a native English Speaker). But please correct me if I am wrong. My main suggestion is remove the restriction of Action layer. Could we just use POJO as "Action"? If it's possible, we could say proundly, " No formbeans, No actions " :) Gu Tianyang [EMAIL PROTECTED] ------------------------------------------------------- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork