Java developers typically go through four "stages" in
mastering Java. In the first stage, they learn the language
itself. In the second stage, they study the APIs. In the
third stage, they become proficient in the environment. It
is in the fourth stage --"the expert stage"-- where things
really get interesting, and Java Enterprise Best Practices
is the tangible compendium of experience that developers
need to breeze through this fourth and final stage of
Enterprise Java mastery.
Crammed with tips and tricks, Java Enterprise Best
Practices distills years of solid experience from eleven
experts in the J2EE environment into a practical,
to-the-point guide to J2EE.
Java Enterprise Best Practices gives developers the
unvarnished, expert-tested advice that the man pages don't
provide--what areas of the APIs should be used frequently
(and which are better avoided); elegant solutions to
problems you face that other developers have already
discovered; what things you should always do, what things
you should consider doing, and what things you should never
do--even if the documentation says it's ok.
Until Java Enterprise Best Practices, Java developers in
the fourth stage of mastery relied on the advice of a
loose-knit community of fellow developers, time-consuming
online searches for examples or suggestions for the
immediate problem they faced, and tedious trial-and-error.
But Java has grown to include a huge number of APIs,
classes, and methods. Now it is simply too large for even
the most intrepid developer to know it all. The need for a
written compendium of J2EE Best Practices has never been
greater.
Java Enterprise Best Practices focuses on the Java 2
Enterprise Edition (J2EE) APIs. The J2EE APIs include such
alphabet soup acronyms as EJB, JDBC, RMI, XML, and JMX.
Java Enterprise Best Practices is a companion title to Java
Best Practices, which covers the Java 2 Standard Edition
(J2SE) APIs, such as Swing, the collections classes,
performance tuning, and NIO.
Contents
Introduction to Java Enterprise Best Practices
- How Does a Best Practice Come About?
- Can Best Practices Be Arguable?
- What's in This Book?
- About the Practices Themselves
- Enterprise Java Programming Resources Online
EJB Best Practices
- Design
- Implementation
- Deployment and Packaging
Servlet Best Practices
- Working Effectively with Servlets
- Caching with Servlets
- Other Servlet Tips
JDBC Best Practices
- Configuration
- Design
- Code
- General Database
XML Best Practices
- XML Authoring
- SAX
- DOM
- JAXP
RMI Best Practices
- Marshalling and Unmarshalling Objects
- Making Applications More Robust
- Improving Application Performance
- Further Reading
Java Management Extensions
Enterprise Internationalization
- Internationalization and Localization
- Presentation Layer
- Business Object Layer
- Data Access Layer
JSP Best Practices
- Appropriate Usage of JSP in an Enterprise
Application
- Page Design
- Caching
- Error Handling
- Custom Component Development
- Deployment
JavaMail Best Practices
- Understanding Enterprise Email
- Sending Email
- Email for System Integration
- Performance Optimization
Enterprise Performance Tuning Best Practices
- Performance Planning
- The Performance Environment
- Proactive Performance Management in Production
- Efficient Distributed Computing Architecture
- Tuning Procedure
- User Perceptions
- Tuning Techniques
- Miscellaneous Best Practices