The J2EE (TM) 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 (TM) 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.
"Sinopsis" puede pertenecer a otra edición de este libro.
Stephanie Bodoff is a staff writer at Sun Microsystems. In previous positions she worked as a software engineer on distributed computing and telecommunications systems and object-oriented software development methods. Since her conversion to technical writing, Stephanie has documented object-oriented databases, application servers, and enterprise application development methods.
Dale Green is a staff writer with Sun Microsystems, where he documents the J2EE platform. In previous positions he programmed business applications, designed databases, taught technical classes, and documented RDBMS products. In his current position he writes about Enterprise JavaBeans technology and the J2EE SDK.
Kim Haase is a staff writer with Sun Microsystems, where she documents the J2EE platform. In previous positions she has documented compilers, debuggers, and floating-point programming. She currently writes about the Java Message Service and J2EE SDK tools.
Eric Jendrock is a staff writer with Sun Microsystems, where he documents the J2EE platform. Previously, he documented middleware products and standards. Currently, he writes about the J2EE Compatibility Test Suite and J2EE security.
The Java Tutorial has been an indispensable resource for many programmers learning the Java programming language. This tutorial hopes to serve the same role for developers encountering the Java 2 Platform, Enterprise Edition (J2EE ) for the first time. It follows an example-oriented focus similar to The Java Tutorial.Who Should Use This Tutorial
This tutorial is intended for programmers interested in developing and deploying J2EE applications. It covers the technologies comprising the J2EE platform and describes how to develop J2EE components and deploy them on the J2EE Software Development Kit (SDK).
This tutorial is not intended for J2EE server or tool vendors. It does not explain how to implement the J2EE architecture, nor does it explain the internals of the J2EE SDK. The J2EE specifications describe the J2EE architecture and can be downloaded from
java.sun/j2ee/docs.html#specsAbout the Examples
This tutorial includes many complete, working examples. See Examples (page 445) for a list of the examples and the chapters where they appear.Prerequisites for the Examples
To understand the examples, you will need a good knowledge of the Java programming language, SQL, and relational database concepts. The topics in The Java Tutorial listed in List P-1 are particularly relevant.List P-1 Prerequisite Topics
Downloading the Examples
If you are viewing this online and you want to build and run the examples, you need to download the tutorial bundle from
Once you have installed the bundle, the example source code is in the j2eetutorial/examples/src directory, with subdirectories ejb for enterprise bean technology examples, web for Web technology examples, and connector for connector technology examples. For most of the examples, the bundle also includes J2EE application Enterprise Archive (EAR) files, which are located in the j2eetutorial/examples/ears directory.How to Build and Run the Examples
This tutorial documents the J2EE SDK version 1.3. To build, deploy, and run the examples you need a copy of the J2EE SDK 1.3 and the Java 2 Platform, Standard Edition (J2SE ) SDK 1.3.1 (earlier versions were called JDK). You can download the J2EE SDK from
and the J2SE 1.3.1 from
The examples are distributed with a configuration file for version 1.3 of ant, a portable make tool. The ant utility is hosted by the Jakarta project at the Apache Software Foundation. You can download ant from
To build the tutorial examples, follow these steps:
* Download and install the J2SE SDK 1.3.1, J2EE SDK 1.3, and ant.
* The installation instructions for the J2SE SDK, J2EE SDK, and ant explain how to set the required environment variables. Verify that the environment variables have been set to the values noted in List P-2.
* Go to the j2eetutorial/examples directory.
* Execute ant target. For example, to build all the examples, execute ant all; to build theWeb layer examples, execute ant web. The build process deposits the output into the directory j2eetutorial/examples/build.List P-2 Settings for Environment Variables
JAVA_HOME  The location of the J2SE SDK installation.
J2EE_HOME  The location of the J2EE SDK installation
ANT_HOME  The location of the ant installation.
PATH  Should include the bin directories of the J2EE SDK, J2SE SDK, and ant installations.
This tutorial provides a concise overview of how to use the central component technologies in the J2EE platform. For more information about these technologies, see the Web sites listed in List P-3.List P-3 Information Sources
Enterprise JavaBeans (EJB ) java.sun/products/ejb
Java Servlet  java.sun/products/servlets
JavaServer Pages (JSP )  java.sun/products/jsp
The J2EE platform includes a wide variety of APIs that this tutorial only briefly touches on. Some of these technologies have their own tutorials, which are listed in List P-4.List P-4 Other Tutorials
Java Message Service (JMS)  java.sun/products/jms/tutorial/
Java Naming and Directory Interface (JNDI) java.sun/products/jndi/tutorial/
Java API for XML Processing (JAXP) java.sun/xml/jaxp/dist/1.1/docs/tutorial/index.html
For complete information on these topics, see the Web sites in List P-5.List P-5 Other Web Sites
J2EE Connector java.sun/j2ee/connector
Once you have become familiar with the J2EE technologies described in this tutorial, you may be interested in guidelines for architecting J2EE applications. The Java BluePrints illustrate best practices for developing and deploying J2EE applications. You can obtain the Java BluePrints from
java.sun/blueprintsHow to Print This Tutorial
To print this tutorial, follow these steps:
* Ensure that Adobe Acrobat Reader is installed on your system.
* Download the PDF version of this book from
* Click the printer icon in Adobe Acrobat Reader.Typographical Conventions
List P-6 lists the typographical conventions used in this tutorial.P-6 Typographical Conventions
* Italic  Emphasis, titles, first occurrence of terms
* Monospace  URLs, code examples, file names, command names, programming language keywords
* Italic monospace  Programming variables, variable file names
Menu selections indicated with the right-arrow character →, for example, First→Second, should be interpreted as: select the First menu, then choose Second from the First submenu.
"Sobre este título" puede pertenecer a otra edición de este libro.
Descripción Prentice Hall PTR, 2004. Paperback. Estado de conservación: New. book. Nº de ref. de la librería M032124575X
Descripción Prentice Hall PTR, 2004. Paperback. Estado de conservación: New. 2. Nº de ref. de la librería DADAX032124575X