This post originated from an RSS feed registered with Java Buzz
by Marc Logemann.
Original Post: 10 Don't do's in Java WebApp Programming
Feed Title: Marc's Java Blog
Feed URL: http://www.logemann.org/day/index_java.xml
Feed Description: Java related topics for all major areas. So you will see J2ME, J2SE and J2EE issues here.
In my current project i have to code features into a custom web application created by some IT company in germany. Based on my experience in this project, here is a list of some cruel design errors and programming mistakes:
1. Creating a rich user interface with javascript
2. Relying completely on hidden fields for user state
3. doing javascript runtime modification of virtually any form field
4. calling several batch files inside an ANT script where ANT could do it w/o them
5. creating an include hirarchy of 7 or more JSPs
6. pogramming extensively inside JSP with scriptlets
7. creating a Javascript include hirarchy
8. having several entry servlets for dispatching (no FrontController)
9. doing SOAP calls within the same System
10. Registering every service upfront w/o knowing if it will be used
This list could be enhanced easily by factor 3. This list is of course neither complete nor does it reflect the most common mistakes. Its only a snapshot of a java project somewhere in germany. Its interessting but knowing that you cant change the design is somewhat dissapointing after all. This is a result of having a company doing a large project without knowing J2EE patterns and a customer yelling out: "Features, Features, Features....".