I spent sometime this weekend researching Struts 2 and did a simple test project. It seems pretty cool. On Struts2 site, it says that it is a combination of Struts1.x + WebWork.
Comparing Struts 1 and 2
---------------------------------------------------------------
http://struts.apache.org/2.x/docs/comparing-struts-1-and-2.html
The good things that I liked
--------------------------------
1.No more dependency on HttpServletRequest and HttpServletResponse in Actions(My guess is it uses ThreadLocal in some fashion)
2. Actions are not singletons (don't have to worry about thread safety anymore)
3. Any POJO can be Action
3. No ActionForms
4. Spring aware Actions
It does seem like it is going simplify life by removing lot of redundancy and overhead but the down side seems like that it is not as matured as 1.x (http://raibledesigns.com/rd/entry/does_struts_2_suck)and doesn't have large community as 1.x. Hopefully as the time passes it gets better.
Wednesday, September 12, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment