| By WebSphere News Desk | Article Rating: |
|
| May 25, 2004 12:00 AM EDT | Reads: |
32,564 |
For the full details of each one, see their paper on the subject. WJ News Desk bring you here the overall summary list though, which reads as follows:
- Always use MVC.
- Apply automated unit tests and test harnesses at every layer.
- Develop to the specifications, not the application server.
- Plan for using J2EE security from Day One.
- Build what you know.
- Always use Session Facades whenever you use EJB components.
- Use stateless session beans instead of stateful session beans.
- Use container-managed transactions.
- Prefer JSPs as your first choice of presentation technology.
- When using HttpSessions, store only as much state as you need for the current business transaction and no more.
- In WebSphere, turn on dynamic caching and use the WebSphere servlet caching mechanism.
- Prefer CMP Entity beans as a first-pass solution for O/R mapping due to the programmer productivity benefits.
"There now are probably 10 or more books, along with dozens of articles that provide insight into how J2EE applications should be written," they state, adding:
Brown, Botzum, and Willenborg say that they hope their efforts may assist with finding the best way through that maze."In fact, there are so many resources, often with contradictory recommendations, navigating the maze has become an obstacle to adopting J2EE itself."
Published May 25, 2004 Reads 32,564
Copyright © 2004 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By WebSphere News Desk
WebSphere Journal News Desk trawls the world of e-commerce technologies for news and innovations and presents IT professionals with updates on technology trends, products, and services in the WebSphere family.
![]() |
Robert Wilson 08/02/04 09:17:51 AM EDT | |||
A coldfusion front end would be easier and more cost effective to implement than jsp |
||||
![]() |
Bruce Cote 06/24/04 11:50:54 AM EDT | |||
I wouldn''t go around bashing Netegrity SiteMinder. It''s a far better security product than anything IBM ever launched. |
||||
![]() |
Serguei Bakhteiarov 06/11/04 08:59:24 AM EDT | |||
I would not publish these practices. This is a really bad move that creates myths. Though the importance for the automated regression tests is an invariant for EVERY software development, not only for J2EE, others so called "best practices" are very questionable and vary from app to app. For instance, MVC implementation caused a wide spread usage of Singletons... And the Singleton pattern is not very good OO pattern at all, it violates lots of OO principles. The JSP usage is a very short sighted too (consider voice or handhelds web applications). Now, I envision that IT managers and companies that make the "interview test software" will incorporate these "12 best J2EE practices" into their arsenal and we, developers, will be forced to repeat them and finally, who knows start thinking that these practices are true.... |
||||
- Cloud CEOs, CTOs & SVPs to Speak at 4th International Cloud Computing Expo
- Kindle 2 vs Nook
- Why IBM’s Server Chief Got Busted
- The Difference Between Web Hosting and Cloud Computing
- Cloud Computing Journal Opens "Readers' Choice Awards" Nominations
- Cloud Computing Expo: Exclusive Q&A with Yahoo! SVP Cloud Computing
- Industry Experts Discuss the State of Cloud Computing
- Ajax in RichFaces 3.3, JSF 2 and RichFaces 4
- It's the Java vs. C++ Shootout Revisited!
- The End of IT 1.0 As We Know It Has Begun
- An Introduction to Abbot
- Java Kicks Ruby on Rails in the Butt
- Interviewing Java Developers With Tears in My Eyes
- Cloud CEOs, CTOs & SVPs to Speak at 4th International Cloud Computing Expo
- 1st Annual Government IT Expo: Call for Papers Deadline July 15
- How to Diagnose Java Resource Starvation
- REA Is Where RIA Becomes the Norm
- Kindle 2 vs Nook
- Anatomy of a Java Finalizer
- Why IBM’s Server Chief Got Busted
- A Cup of AJAX? Nay, Just Regular Java Please
- Java Developer's Journal Exclusive: 2006 "JDJ Editors' Choice" Awards
- The i-Technology Right Stuff
- JavaServer Faces (JSF) vs Struts
- Rich Internet Applications with Adobe Flex 2 and Java
- Java vs C++ "Shootout" Revisited
- Bean-Managed Persistence Using a Proxy List
- Reporting Made Easy with JasperReports and Hibernate
- Creating a Pet Store Application with JavaServer Faces, Spring, and Hibernate
- What's New in Eclipse?
































