The J2EE™ Tutorial, Second Edition, is the complete guide to all major components of the Java 2 Platform, Enterprise Edition (J2EE) version 1.4. Written by members of the J2EE platform team at Sun Microsystems, this is the task-oriented and example-driven book that will have new and intermediate Java programmers building J2EE applications right away.
The first chapters introduce the J2EE 1.4 platform architecture and APIs, the Sun Java System Application Server Platform Edition 8, and the basics of working with XML and Web applications. The greater part of the book is devoted to describing and demonstrating the Java XML, Web-tier, and Enterprise JavaBeans technologies and platform services. Extensive examples and case studies show you how to put these technologies to work in the real world.
The technologies and services detailed include:
- Java API for XML Processing (JAXP)
- Java API for XML-Based RPC (JAX-RPC)
- SOAP with Attachments API for Java (SAAJ)
- Java API for XML Registries (JAXR)
- Java Servlet
- JavaServer Pages (JSP)
- JSP Standard Tag Library (JSTL)
- JavaServer Faces
- Internationalization and localization
- Enterprise JavaBeans (EJB)
- Transactions
- Resource connections
- Security
- Java Message Service API (JMS API)
The J2EE™ Tutorial, Second Edition, will give you a head start in developing and deploying J2EE applications.
The accompanying CD-ROM includes the tutorial examples (binary and source code) and the J2EE Software Development Kit, Enterprise Edition 1.4 (J2EE 1.4 SDK), which contains the Sun Java System Application Server Platform Edition 8, Java 2 Software Development Kit (J2SE SDK), and BluePrints sample applications.
The J2EE Tutorial is part of a series of official Sun tutorials for the Java platform, published both online and in book form. It teaches by example, using the highly effective technique of brief overviews followed by step-by-step explanations. This title covers the Java 2 Enterprise Edition, the server part of the platform, with the key topics being Enterprise JavaBeans and Web applications using Servlets and JSP (JavaServer Pages). What you get is a well-written and authoritative tutorial that sticks closely to the J2EE SDK rather than discussing specific implementations.
After a short J2EE overview, the tutorial explains how to set up Sun's J2EE SDK and to start the server and Web client. Next comes an introduction to Enterprise Beans, explaining Session, Entity and Message-driven Beans. There is an example of Bean-managed persistence using a Savings Account, and an example of Container-managed persistence using players and teams. This is followed by chapters looking at Web applications and Servlets. Three chapters on JSP cover basic usage, calling JavaBean components, and defining custom tags. The remaining chapters cover vital topics such as transactions and rollback, security and connecting to resources through JNDI (Java Naming and Directory Interface), through database connections, and through URLs. The book concludes with an example EJB application, Duke's Bank. A bundled CD has the J2SE and J2EE SDKs along with online editions of the Java Tutorial itself.
Despite the complexity of J2EE, this book manages to be both concise and accessible and is a great choice for anyone who wants to pick up these important Java skills. --Tim Anderson