Java Enterprise Best Practices

By The O’Reilly Java Authors
incl. Hans Bergsten
1st Edition, December 2002
ISBN: 0-596-00384-6
288 pages
Reader Reviews
Errata
Sample Chapter
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.

Table of Contents
Chapter 1, Introduction to Java Enterprise Best Practices, by Robert Eckstein

  • 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

Chapter 2, EJB Best Practices, by Sasha Nikolic

  • Design
  • Implementation
  • Deployment and Packaging

Chapter 3, Servlet Best Practices, by Jason Hunter

  • Working Effectively with Servlets
  • Caching With Servlets
  • Other Servlets Tips

Chapter 4, JDBC Best Practices, by George Reese

  • Configuration
  • Design
  • Code
  • General Database

Chapter 5, XML Best Practices, by Brett McLaughlin

  • XML Authoring
  • SAX
  • DOM
  • JAXP

Chapter 6, RMI Best Practices, by William Grosso

  • Marshalling and Unmarshalling Objects
  • Making Applications More Robust
  • Improving Application Performance
  • Further Reading

Chapter 7, Java Management Extensions, by J. Steven Perry

  • Naming
  • Instrumentation

Chapter 8, Enterprise Internationalization, by David Czarnecki and Andy Deitsch

  • Internationalization and Localization
  • Presentation Layer
  • Business Object Layer
  • Data Access Layer

Chapter 9, JSP Best Practices, by Hans Bergsten

  • Appropriate Usage of JSP in an Enterprise Application
  • Page Design
  • Caching
  • Error Handling
  • Custom Component Development
  • Deployment

Chapter 10, JavaMail Best Practices, by William Crawford

  • Understanding Enterprise Email
  • Sending Email
  • Email for System Integration
  • Performance Optimization

Chapter 11, Enterprise Performance Tuning Best Practices, by Jack Shirazi

  • 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

Leave a Reply

Your email address will not be published. Required fields are marked *