Sun Java System Application Server Enterprise Edition 8.1 2005Q1 Developer's Guide |
Preface
This Developer’s Guide describes how to create and run Java 2 Platform, Enterprise Edition (J2EE platform) applications that follow the open Java standards model for J2EE components and APIs in the Sun Java System Application Server environment. Topics include developer tools, security, assembly, deployment, debugging, and creating lifecycle modules.
Who Should Use This BookThis Developer’s Guide is intended for use by software developers who create, assemble, and deploy J2EE applications using Sun Java System servers and software. Application Server software developers should already understand the following technologies:
Before You Read This BookApplication Server is a component of Sun Java Enterprise System, a software infrastructure that supports enterprise applications distributed across a network or Internet environment. You should be familiar with the documentation provided with Sun Java Enterprise System, which can be accessed online at http://docs.sun.com/app/docs/prod/entsys.05q1#hic.
How This Book Is OrganizedThe Developer’s Guide has three parts and an Appendix:
- Part I, "Developing and Deploying Applications," includes general development topics relevant to the Application Server, such as security and debugging.
- Part II, "Developing Applications and Application Components," describes J2EE application components, such as servlets and message-driven beans, that can run on the Application Server.
- Part III, "Using Services and APIs," describes services and APIs that provide Application Server resources, such as JDBC and JNDI.
- Appendix A, “Deployment Descriptor Files,” describes deployment descriptor files specific to the Sun Java System Application Server.
The following table summarizes the chapters in this book.
Table 1 How This Book Is Organized
Chapter
Description
Describes setting up an application development environment in the Sun Java System Application Server.
Explains how to write secure J2EE applications, which contain components that perform user authentication and access authorization.
Describes Sun Java System Application Server modules and how these modules are assembled separately or together in an application. Also describes classloaders and tools for assembly and deployment.
Provides guidelines for debugging applications in the Sun Java System Application Server.
Describes how web applications are supported in the Sun Java System Application Server.
Describes how Enterprise JavaBeans (EJB) technology is supported in the Sun Java System Application Server.
Chapter 7, "Using Container-Managed Persistence for Entity Beans"
Provides information on how container-managed persistence (CMP) works in the Sun Java System Application Server.
Describes how to develop, assemble, and deploy J2EE Application Clients.
Describes Sun Java System Application Server support for the J2EE Connector 1.5 architecture.
Describes how to create and use a lifecycle listener module.
Explains how to use the Java Database Connectivity (JDBC) API for database access with the Sun Java System Application Server.
Describes J2EE transactions and transaction support in the Sun Java System Application Server.
Explains how to use the Java Naming and Directory Interface (JNDI) API for naming and references.
Explains how to use the Java Message Service (JMS) API, and describes the Application Server’s fully integrated JMS provider: the Sun Java System Message Queue software.
Explains how to use the JavaMail API.
Chapter 16, "Using the Java Management Extensions (JMX) API"
Explains how to use the Java Management Extensions (JMX) API.
Describes deployment descriptor files specific to the Sun Java System Application Server.
Conventions Used in This BookThe tables in this section describe the conventions used in this book.
Typographic Conventions
The following table describes the typographic changes used in this book.
Symbols
The following table describes the symbol conventions used in this book.
Default Paths and File Names
The following table describes the default paths and file names used in this book.
Shell Prompts
The following table describes the shell prompts used in this book.
Related DocumentationThe http://docs.sun.comSM web site enables you to access Sun technical documentation online. You can browse the archive or search for a specific book title or subject.
You can find a directory of URLs for the official specifications at install_dir/docs/index.htm. Additionally, the following resources might be useful.
General J2EE Information:
The J2EE 1.4 Tutorial:
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html
The J2EE Blueprints:
http://java.sun.com/reference/blueprints/index.html
Core J2EE Patterns: Best Practices and Design Strategies by Deepak Alur, John Crupi, & Dan Malks, Prentice Hall Publishing
Java Security, by Scott Oaks, O’Reilly Publishing
Programming with Servlets and JSP files:
Java Servlet Programming, by Jason Hunter, O’Reilly Publishing
Java Threads, 2nd Edition, by Scott Oaks & Henry Wong, O’Reilly Publishing
Programming with EJB components:
Enterprise JavaBeans, by Richard Monson-Haefel, O’Reilly Publishing
Programming with JDBC:
Database Programming with JDBC and Java, by George Reese, O’Reilly Publishing
JDBC Database Access With Java: A Tutorial and Annotated Reference (Java Series), by Graham Hamilton, Rick Cattell, & Maydene Fisher
Javadocs:
Javadocs for packages provided with the Application Server are located in install_dir/docs/api.
Books in This Documentation Set
The Sun Java System Application Server manuals are available as online files in Portable Document Format (PDF) and Hypertext Markup Language (HTML).
The following table summarizes the books included in the Application Server core documentation set.
Other Server Documentation
For other server documentation, go to the following:
- Message Queue documentation
http://docs.sun.com/db?p=prod/s1.s1msgqu- Directory Server documentation
http://docs.sun.com/coll/DirectoryServer_04q2- Web Server documentation
http://docs.sun.com/coll/S1_websvr61_en
Accessing Sun Resources OnlineFor product downloads, professional services, patches and support, and additional developer information, go to the following:
- Download Center
http://wwws.sun.com/software/download/- Professional Services
http://www.sun.com/service/sunps/sunone/index.html- Sun Enterprise Services, Solaris Patches, and Support
http://sunsolve.sun.com/- Developer Information
http://developers.sun.com/prodtech/index.html
Contacting Sun Technical SupportIf you have technical questions about this product that are not answered in the product documentation, go to http://www.sun.com/service/contacting.
Related Third-Party Web Site ReferencesInformation about the Ant tool is available through the Apache Software Foundation:
For information about standard Ant tasks, see the Ant documentation:
http://computing.ee.ethz.ch/sepp/ant-1.5.4-ke/manual/index.html
For information about use of the fileset element in the Ant tool, see:
http://computing.ee.ethz.ch/sepp/ant-1.5.4-ke/manual/CoreTypes/fileset.html
For more information about SOAP, see the Apache SOAP web site:
http://xml.apache.org/soap/index.html
Information about Optimizeit from Borland is available at:
http://www.borland.com/optimizeit
For general information about DTD files and XML, see the XML specification at:
Sun is not responsible for the availability of third-party web sites mentioned in this document. Sun does not endorse and is not responsible or liable for any content, advertising, products, or other materials that are available on or through such sites or resources. Sun will not be responsible or liable for any actual or alleged damage or loss caused or alleged to be caused by or in connection with use of or reliance on any such content, goods, or services that are available on or through such sites or resources.
Sun Welcomes Your CommentsSun is interested in improving its documentation and welcomes your comments and suggestions.
To share your comments, go to http://docs.sun.com and click Send Comments. In the online form, provide the document title and part number. The part number is a seven-digit or nine-digit number that can be found on the title page of the book or at the top of the document. For example, the title of this book is Sun Java System Application Server 2005Q1 Developer’s Guide, and the part number is 819-0217.