This book is both a practical guide and a quick reference for Java™ programmers who are writing enterprise applications. The world of enterprise development in the Java environment consists of a mix of standardized APIs and services and de facto standard tools and APIs that have been developed in the Java community. The first part of the book provides a fast-paced introduction to key standard Java enterprise principles and APIs: J2EE™ deployment, servlets, JavaServer Pages™ (JSPs), JavaServer™ Faces (JSF), Enterprise JavaBeans™ (EJB), XML, JDBC™, Java Naming and Directory Interface (JNDI), J2EE security principles, Java Message Service (JMS), SOAP web services, Remote Method Invocation (RMI), Java IDL (CORBA), JavaMail™, and transactions. The second part of the book covers a select set of key de facto tools commonly used in Java enterprise development: Ant, JUnit, Cactus, Struts, Hibernate, and XDoclet.
The landscape of Java enterprise tools and APIs has evolved quite a bit in the three years since the second edition. As we were planning the third edition, we realized that the set of enterprise tools that developers found useful had settled into a mix of standard and de facto standard solutions. The standard solutions are APIs within the Java 2 Enterprise Edition (J2EE) and Java 2 Standard Edition (J2SE™) set of specifications, like JavaServer Pages and JDBC. The de facto standard solutions are APIs and tools developed by the open source community, such as Hibernate and Ant.
We felt it was critical to cover both aspects of the enterprise toolbox, and so we decided to drop the API reference material typically found in the Nutshell series in favor of coverage of the de facto tools in the Java enterprise space. As you look through Part II of the book, you’ll find tutorial chapters on a critical set of these community tools, such as Ant, Hibernate, and Struts, among others. This change is a recognition that enterprise developers have numerous ways to access API details, using tools integrated into their development environments. More importantly, it’s a recognition that effective tutorials on these common community tools are critical to having a complete picture of the larger Java enterprise framework, a framework that, today, is much larger than just the standard APIs published as part of the J2EE specification.
In addition to this brand new material, we’ve also brought all the material up-to-date with the current versions of the various APIs and tools. The examples and tutorial material now cover J2EE 1.4 versions of the various standard APIs, and we also cover the current released versions of the community tools at the time of this writing. In key areas, we’ve also provided some previews of new developments coming in the near future.