Alternative web frameworks for AppFuse
I've was thinking about the AppFuse Roadmap for a bit today - and it hit me. The hardest part of supporting frameworks like WebWork and Tapestry is going to be replacing the Struts features I'm confortable with. For WebWork, it should be fairly easy to replace Tiles with SiteMesh, but for Tapestry - does a templating framework even exist? Other things that might be hard to implement in Tapestry are the DisplayTag (although Erik Hatcher did mention it's easy to implement in Tapestry) and Struts Menu. I imagine doing something like implementing a menu with CSS/JavaScript isn't too hard in Tapesty - but can it be configured from an XML file and a Velocity template? Implementing these components into WebWork should be easy since it supports JSP, but Tapesty is a whole different animal. I've also heard that JSF already has a grid component - and the struts-faces library should allow me to use Struts Menu easily with JSF.
I guess the good news in all of this is that I will discover if this stuff is possible or not - instead of just wondering. If you do happen to know the answers off the top of your head - please let me know. The real question is - after all of this - which framework will I choose as my favorite. Stick around and read about my journey into these other frameworks from the perspective of a hardcore Struts developer and enthusiast. I don't plan on trying to prove that Struts is better - I just want to find the beauty of these other frameworks and report if it's all hype or actually true.
Posted by Jonathan Morrissey on January 18, 2004 at 11:54 AM MST #
Posted by Robert Nicholson on January 18, 2004 at 05:10 PM MST #
Posted by Matt Raible on January 18, 2004 at 06:01 PM MST #
Spring also provides a web framework. Reading Rod's book (and playing with Spring?) have you decided 'porting' to Spring as well? Personally, I use Spring as a neat service layer and configuration tool. My application_context.xml file is 75% application configuration details (drivers, directories, max. image size, thumbnail suffix, etc.) and 25% service bean set-up.
BTW, my service stuff is similar to what you suggest re Manager/ManagerImpl on the appfuse roadmap. That way I keep the web layer completely DAO free. Hopefully this helps when switching to JSF ;)
Posted by Jaap on January 19, 2004 at 10:23 AM MST #
Posted by Erik Hatcher on January 19, 2004 at 06:45 PM MST #