Reputation: 11708
I'm currently working on a web app that makes heavy use of JSF and IceFaces. We've had some discussions of moving to another presentation layer, and I thought I'd take the discussion out into SO and see what the experts think.
I'm curious if anyone could weigh in on the pros and cons of the various Java presentation layer technologies. If you've only worked with one, say why you love it or hate it. If you've worked with several, give your impressions of how they stack up against each other.
Our technologies under consideration are:
And if I'm missing anything from my list, let me know.
Thanks!
Upvotes: 15
Views: 11807
Reputation: 2946
See my comparison of Wicket and Tapestry 5: Difference between Apache Tapestry and Apache Wicket.
Upvotes: 0
Reputation: 1798
My pick would be Wicket. Have used it and is gives excellent re-usability. It has one of the most vibrant forum/mailing list. As a question and its gonna be answered in minutes. It has excellent support for AJAX. One of the usual cons attributed to Wicket is the steep learning curve. Well those were one of the old age cons which hold no value anymore now.
JSF: Better stay away from it. Another team which developed a project on JSF is now thinking to shift to Wicket after our success with it.
@Megadix: Like you said the documentation was poor in the beginning, but not any more. There is an excellent book called Wicket in Action written by the developers of Wicket. The sample code provided on the site is also a good place to start and learn
Upvotes: 1
Reputation: 1032
In short:
= JSF =
PROS:
CONS:
= WICKET =
PROS:
CONS:
Upvotes: 2
Reputation: 29385
My opinions are quite heavily biased towards Wicket because I've been using it for a while after tripping over JSP mines far too many times.
Wicket PROs:
Wicket CONs:
Form.onSubmit()
) require extensive subclassing or anonymous method overriding for injecting behaviour easily. This is partly due to Wicket's powerful event-based design but unfortunately it also means it's easy to make a code mess with Wicket.Random CONs: (that is, I haven't used but these are my opionions and/or things I've heard)
Upvotes: 6
Reputation: 13707
I've used GWT for a couple small projects. Here are some things I like about it:
Things I don't like:
Upvotes: 5
Reputation: 309028
I'd wonder if you a have a service layer that's distinct from the web client, something that the web controllers simply invoke to get their work done.
If you do, the choice of web UI technology can be decoupled from the back end. If it's exposed as a contract first web service, you can have different apps share it. As long as your clients can send and receive XML they can interact with your services. Want to switch to Flex? No worries - point it at the service and render the XML response.
Upvotes: 0
Reputation: 15925
The biggest question I'd ask is why are you changing presentation layer? That's a very expensive cost and I can see the benefits of one technology outweighing the others by as much as the cost to change...
Upvotes: 3