Jump to content
xisto Community
Sign in to follow this  
unososix

Which Is The Best Java Web Framework? JSF, Spring MVC, Stripes, Struts 2, Tapestry and Wicket

Recommended Posts

JSF

Pros:

Java EE Standard - lots of demand and jobs

Fast and easy to develop with initially

Lots of component libraries

Cons:

Tag soup for JSPs

Doesn't play well with REST or Security

No single source for implementation

Spring MVC

Pros:

Lifecyle for overriding binding, validation, etc.

Integrates with many view options seamlessly: JSP/JSTL, Tiles, Velocity, FreeMarker, Excel, PDF

Inversion of Control makes it easy to test

Cons:

Configuration intensive - lots of XML

Almost too flexible - no common parent Controller

No built-in Ajax support

Stripes

Pros:

No XML - Convention over Configuration

Good documentation (easy to learn)

Enthusiastic community

Cons:

Small Community

Not as actively developed as other projects

Hard-coded URLs in ActionBeans

Struts 2

Pros:

Simple architecture - easy to extend

Tag Library is easy to customize with FreeMarker or Velocity

Controller-based or page-based navigation

Cons:

Documentation is poorly organized

No feedback for missing properties or invalid OGNL expressions

Googling results in Struts 1.x documentation

Tapestry

Pros:

Very productive once you learn it

Templates are HTML - great for designers

Lots of innovation between releases

Cons:

Documentation very conceptual, rather than pragmatic

Steep learning curve

Long release cycles - major upgrades every year

Wicket

Pros:

Great for Java developers, not web developers

Tight binding between pages and views

Active community - support from the creators

Cons:

HTML templates live next to Java code

Need to have a good grasp of OO

The Wicket Way - everything done in Java

Next.. Evaluation Criteria for these frameworks..

Share this post


Link to post
Share on other sites
Have you tried Hamlets?Which Is The Best Java Web Framework?

Hamlets (previously known as IBM Servlet-based Content Creation Framework) is an open source system for generating dynamic web-pages developed by Ren? Pawlitzek at IBM. A Hamlet is a servlet extension that reads XHTML template files containing presentation using SAX (the Simple API for XML) and dynamically adds content on the fly to those places in the template which are marked with special tags and IDs using a small set of callback functions. A template compiler can be used to accelerate Hamlets. Hamlets provide an easy-to-use, easy-to-understand, lightweight, small-footprint, servlet-based content creation framework that facilitates the development of Web-based applications. The Hamlets framework not only supports but also enforces the complete separation of content and presentation. It is the result of a radical software simplification effort.

 http://hamlets.sourceforge.net/

-reply by Prince of Denmark

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.