A Wicket User Revisits JSF
Project Structure -Wicket does not require any extra XML config like you have faces-config.xml for JSF. It also does not require JSPs.
Footprint and Dependencies - Thomas uses Jetty in his evaluation. Removing JSP support from Jetty for the Wicket version saves over 5MB. JSF has around 3MB of library dependencies compared to the 2MB for Wicket.
Page Complexity - In Wicket complexity moves into Java code. In JSF a large amount of complexity is in the JSP pages themselves.
Comments on Thomas' comparison consider if it is a fair one:
Can you fast forward to 2007? Look at JBoss Seam which makes JSF development much more pleasurable. Don’t get me wrong, I like Wicket and its philosophy but this isn’t a fair comparison to modern day JSF, especially with a trivial example as you’ve shown.Another reader writes however:
Excellent article. I’ve worked with both technologies, but seeing them side-by-side like this was very easy to follow and clear to read. While some of the vendor-specific technologies mentioned above might make JSF easier, I think your comparison was fair.
Wow
by
Jacob Hookom
Re: Wow
by
Eelco Hillenius
Wicket still faulters with reflection-- EL/property string-- same thing.
The example uses property models, which indeed are based on introspection (like EL). However, you can just implement IModel directly, and you can build your application as statically typed as you wish.
I have to say though, the zero config works really well for small, 3 page apps.
And 1000 'page' apps alike. You don't *need* configuration with Wicket like you would with JSF.
Re: Wow
by
Tim Fennell
That's very unbecoming of you Jacob. It's almost (well, maybe not quite) like saying EJB2.0 scales better than 3.0 because it uses so much more configuration ;)
Summary: Bloke who likes to do everything by hand doesn't like to use tools
by
Steve Jones
THAT IS THE WHOLE POINT. This reads like someone comparing RMI with socket writing and complaining that RMI was a complete pig, while not using any of the RMI tools. Its very sad how we continue to have an industry with an obsession with hand cranking pages.
Re: Summary: Bloke who likes to do everything by hand doesn't like to use t
by
Peter Thomas
BTW Wicket has tools as well, there are plugins for Eclipse and *NetBeans*.
Re: Summary: Bloke who likes to do everything by hand doesn't like to use t
by
Eelco Hillenius
Its very sad how we continue to have an industry with an obsession with hand cranking pages.
If it wasn't for these pesky programmers with their obsession for 3GL languages, everyone would have been using 4GL tools by now. ;)
Educational Content
Intro to CLP with core.logic
Ryan Senior Jun 18, 2013
Spock: A Highly Logical Way To Test
Howard Lewis Ship Jun 18, 2013
Java Garbage Collection Distilled
Martin Thompson Jun 17, 2013
C++11 The Future is Here
Bjarne Stroustrup Jun 16, 2013
The Big Data Revolution
Claudia Perlich Jun 16, 2013




Hello stranger!
You need to Register an InfoQ account or Login to post comments. But there's so much more behind being registered.Get the most out of the InfoQ experience.
Tell us what you think