| /Home/Papers/Struts' Hassles | /\/\ountain/\/\inds |
Content
Site Tools+SSL
|
Struts' Hassles and How to Deal With Some of Them
Marc R. Hoffmann, December 2004
After many years of web application development in very different environments -- commercial as well as open-source -- I was faced with my first project based on Jakarta Struts these days. Oh cool, I thought, everybody is talking about it and we have the chance to start a fresh project. So we can follow all the "best practice" patterns and benefit from all the services the framework provides to us! This paper is about how quickly and why I lost any enthusiasm about the Struts framework. Please be aware that my observations in this paper may be based on a complete misunderstanding of the Struts concepts and potentially wrong assumptions. My core assumptions were:
Disproving my assumptions I actually spent some nights sorting out suitable solutions for some basic tasks (the other nights I wrote down these lines). Whenever trying to solve a particular task, Struts comes with frustration twice: Firstly when you spending too much time to figure out a particular implementation technique, secondly when you then face the weird "best practice" solution. Such cases as well as when I wasn't able to identify a solution directly provided by the Struts framework at all are listed in the following sections -- along with the description how we sorted this out. Everything here is based on the current production release 1.2.4 of Struts. Please feel free to immediately drop me an email if any of the described hassles are based on misunderstanding of the Struts concepts or if you know of any better approach. Hassle #1: The
|
| last modified: 2005/12/12 21:45 | user: Anonymous User [login] |