Panasonic Youth rob sanheim writes about software, business, ruby, music, stuff and things



Posted
11 October 2005 @ 9am

Tagged
Java, Open Source

Discuss

JIA - Matt Raible - Comparing Java Web Frameworks

I’m a little late coming with these session reviews, but I’ve been crazy busy getting caught up back at home. Matt’s session was three hours long and as he admitted, should’ve probably been less time. I think the overall presentation would’ve been great if it weren’t for the technical problems.

Matt is a natural presenter, using a very casual conversational tone and tried to keep things interactive in an environment that never didn’t foster lots of interaction (note to TechTargert - we don’t need mics! just let us ask our questions!). The first half was good, though some of the slides were really hard to read from the back of the room. Then he started the live coding, and it went downhill from there. He did use personally created templates for all of his code, so a lot of the room for error was removed right there. I will definitely be using that idea for future presentations. Most of the problems seemed to be configuration or deployment based. I still liked seeing a lot of code, though, and Matt did well considering the circumstances.

As for the actual frameworks, he compared JSF, Struts, Spring, Tapestry and WebWork, and it seemed that WebWork came out on top. JSF and Tapestry looked powerful but far too complex for the typical CRUD java web app, and Tapestry suffers from lack of adoption. Everyone hates Struts (duh). Spring MVC is a better alternative for a request based framework, but has a fairly high learning curve.

WebWork looked very easy to me, and the actions you write are completely servlet independant, so you can test them without any mocking or container running. The main complaint WebWork has had is lack of documentation, but WebWork in Action just came out so it seems to be improving. I also really like the fact that WebWork is resuing other open source components where it makes sense, like RIFE and DWR integration and using Spring for its IoC container. I’ll have to take a look at WebWork once it reaches 2.2 final.


2 Comments

Posted by
Geert Bevin
11 October 2005 @ 10am

A small note, WebWork only integrates parts of RIFE’s continuations engine in an alpha state. This is only a very small part (1%) of its capabilities, so if you’re interested about what we have to offer, make sure to browse through our website (http://rifers.org). The ‘misconceptions’ document I wrote today might also be interesting for you (http://rifers.org/blogs/gbevin/2005/10/11/rife_misconceptions).

Good luck with your framework hunting!


Posted by
Davide Baroncelli
12 October 2005 @ 3am

I don’t agree that Spring MVC has a high learning curve at all. I used it recently and found it complete, pretty powerful, and very consistent with the general Spring approach. Within minutes after reading the doc (and with the help of a couple of good examples from Raible’s Spring Live) I could start working and found a lot of good things in things like SimpleFormController.


Leave a Comment

TDD and accounting - keeping it in balance Prototype Insertion, IE 6, tr’s, and “invalid target element for this operation…”