Following in the footsteps of the The Java Tutorial -- a global best-seller -- The J2EE Tutorial offers an indispensable, example-centered resource for every developer who wants to master enterprise development with Java 2 Enterprise Edition, Version 1.3. The authors -- all of them Sun senior writers with direct access to the architects of the J2EE platform -- offer concise, hands-on introductions to each key J2EE technology. They offer practical techniques and examples for working with Enterprise JavaBeans, servlets, JavaServer Pages, Java Message Service (JMS), Java Naming and Directory Interface (JNDI), XML, the J2EE Connector Architecture, JavaMail, and JDBC. The book has been refined to reflect thousands of comments from developers utilizing draft editions published on the Web. All contents and examples are also provided on the accompanying CD-ROM, along with complete copies of the J2EE and J2SE Version 1.3 platform. For every experienced Java programmer who wants to build enterprise solutions with Java 2 Enterprise Edition Version 1.3.
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