Comparing Java Web Frameworks Presentation on Parleys.com
The good folks from JavaZone have published a video of the Comparing Java Web Frameworks presentation I did in Oslo in September. Enjoy!
Update: In this presentation, I say we've chosen Struts 2 at LinkedIn. Even though it solved most of our problems, I'm also now prototyping with Spring MVC. I wish JSP/JSTL had a way to call methods with arguments like Struts' OGNL supports.
Posted by Stephan on November 24, 2007 at 09:39 AM MST #
Posted by Jorge Diaz Tambley on November 24, 2007 at 12:47 PM MST #
Posted by Matt Raible on November 24, 2007 at 02:07 PM MST #
Posted by Sonny Gill on November 24, 2007 at 06:22 PM MST #
Posted by Magnus Heino on November 24, 2007 at 09:40 PM MST #
Posted by Matt Raible on November 24, 2007 at 10:24 PM MST #
Posted by David Whitehurst on November 25, 2007 at 01:59 AM MST #
Posted by reddeagle on November 26, 2007 at 03:46 PM MST #
Shouldn't be too difficult to create EL functions based on java.beans.Expression and/or java.beans.Statement.
Posted by Kris Schneider on November 27, 2007 at 03:10 PM MST #
> What is making you now look at Spring MVC for your prototype.
The reasons are more strategy and politics related than technical. They're already using Spring MVC in some applications and using Spring heavily on the backend, so they'd prefer to unify. Also, the fact that they're writing some Grails applications further supports Spring MVC.
Posted by Matt Raible on November 27, 2007 at 10:47 PM MST #
Good luck with Struts 2.
After the Struts2 tags mess with OGNL, and some strange behaviour with poor validation, and short comings with things like nested loops with struts tags I'm about to migrate my projects over to SpringMVC.
I understand the security concerns for removing the OGNL stuff, but seriously, a bug comes along and after a minor revision each JSP has to be updated to not use OGNL?!?! And this is the solution? That was the straw on the camels back.
Struts 2 is wonderful conceptual, and feels clean and elegant - then you use it.
You mention in your presentation (which I dug) about "you know, you make all these changes and implementations and you've basically written your own framework".
Thats where I'm at. Having to patch and reimplement base functionality so that it works without bugs. (An example of this is unselecting all items in a checkbox list - https://issues.apache.org/struts/browse/WW-992. The issue still exists, but its marked as resolved).
I dont have the luxury of time to patch this kind of thing - or investigate why its not working. (and i dont profess to be smart enough to figure it out either).
My experience with SpringMVC was that it works, the controller is slightly less elegant, but it WORKS.
I hope you are:
Posted by Ned on November 28, 2007 at 01:02 AM MST #
Posted by Ned on November 28, 2007 at 05:40 AM MST #
Posted by Ted Husted on November 28, 2007 at 12:42 PM MST #
Posted by Ned on November 28, 2007 at 10:38 PM MST #