"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 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, the book distills years of solid experience from eleven experts in the J2EE environment into a practical, to-the-point guide to J2EE.
It also 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.
Robert Eckstein, an editor at O'Reilly, works mostly on Java books (notably Java Swing) and is also responsible for the XML Pocket Reference and Webmaster in a Nutshell, 2nd Edition. In his spare time he has been known to provide online coverage for popular conferences. He also writes articles for JavaWorld magazine. Robert holds bachelor's degrees in computer science and communications from Trinity University. In the past, he has worked for the USAA insurance company and more recently spent four years with Motorola's cellular software division.
Preface 1. 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 2. EJB Best Practices Design ^M Implementation Deployment and Packaging 3. Servlet Best Practices Working Effectively with Servlets Caching with Servlets Other Servlet Tips 4. JDBC Best Practices Configuration Design Code General Database 5. XML Best Practices XML Authoring SAX DOM JAXP 6. RMI Best Practices Marshalling and nmarshalling Objects Making Applications More Robust Improving Application Performance Further Reading 7. Java Management Extensions Naming Instrumentation 8. Enterprise Internationalization Internationalization and Localization Presentation Layer Business Object Layer Data Access Layer 9. JSP Best Practices Appropriate Usage of JSP in an Enterprise Application Page Design Caching Error Handling Custom Component Development Deployment 10. JavaMail Best Practices Understanding Enterprise Email Sending Email Email for System Integration Performance Optimization 11. 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 List of Contributors Index