Sitting in on Alef's admittedly biased review of web frameworks
No silver bullets here (surprise), the answer is, "It depends" on:
and the way they handle:
UI Comments
Stateful: GWT or JSF with Spring WebFlow
No silver bullets here (surprise), the answer is, "It depends" on:
- Size of Community / Support
- Migration Paths / Backward Compatibility record
- Documentation quality
and the way they handle:
- State Management - is HTTP Session an oxymoron?
- Navigation Handling
- Event Handling
- Templates and UI building
Biased Opinions Here!! | Spring MVC, Struts | Spring WebFlow | GWT | JSF |
---|---|---|---|---|
State Management | None beside HTTP Session, best for almost stateless app. | Server based, can be in db | State is ALL client-side, RPC-style async service calls. State dependency mgmt. is hard | HTTP Session-based |
Navigation Handling | limited, low-level req-resp | Excellent | ? | Integrates well with Spring WebFlow |
Event Handling | Req.-Resp. oriented, low-level | Excellent, requires session state | Elegant, all in Java | Very Good |
UI Comments
- GWT: Little HTML left, not Dreamweavable. 100% AJAX-based
- JSP: HTML based, may be ugly. Good taglibs,
- Freemarker/Velocity: Good to build on Struts/JSP apps
- JSF: Higher-level than JSP. Good components available. AJAX with extension (Spring Faces, ICEFaces, MyFaces, Seam). Should use w/Facelets.
- Flex/OpenLaszlo/JavaFX: Interesting but very diffferent techniques
Recommendations
Stateless: Struts/SpringMVC with a templating engineStateful: GWT or JSF with Spring WebFlow
No comments:
Post a Comment