Home > Store

Java 2 Platform, Enterprise Edition: Platform and Component Specifications

Register your product to gain access to bonus material or receive a coupon.

Java 2 Platform, Enterprise Edition: Platform and Component Specifications

Book

  • Sorry, this book is no longer in print.
Not for Sale

Description

  • Copyright 2000
  • Edition: 1st
  • Book
  • ISBN-10: 0-201-70456-0
  • ISBN-13: 978-0-201-70456-3

The Java 2™ Platform, Enterprise Edition (J2EE) defines a new standard in enterprise solutions through a simplified, component-based development model. By extending the "write-once, run-anywhere™" benefits of the Java programming language to enterprise servers, J2EE adds the scalability, robustness, and security required for today's vital e-commerce and enterprise solutions. The Java™ 2 Platform, Enterprise Edition: Platform and Components Specifications defines the architecture for developing applications with J2EE. This volume includes:

Java™ 2 Platform, Enterprise Edition Specification, version 1.2
This specification defines the initial release of the J2EE platform. It discusses application architecture using Java™ Servlets, JavaServer Pages™, Enterprise JavaBeans™, and other technologies. It specifies application access to services such as JDBC™, Java Transaction API, JavaMail™, CORBA connectivity, and others. It also discusses J2EE policies regarding application deployment and security.
Enterprise JavaBeans™ Specification, version 1.1
Enterprise JavaBeans technology provides the standard middle-tier components in the J2EE model. This technology provides simplified support for transaction management and remote object access, and it frees enterprise developers to focus on the business logic of their applications. Version 1.1 of the specification includes a number of enhancements, including mandatory entity beans and XML deployment descriptors.
Java™ Servlet Specification, version 2.2
Java Servlets technology defines a standard for developing server-side behaviors in web applications based on the Java programming language. As part of the J2EE specifications, servlets technology supports development of dynamic web content for e-commerce and other enterprise applications.
JavaServer Pages™ Specification, version 1.2
The JavaServer Pages (JSP) technology simplifies the development and deployment of interactive web applications. Using an extensible markup language based on HTML and the Java programming language, JSP defines a server-side mechanism to allow content experts greater freedom in creating and displaying dynamic web content.

Developed with the input of a wide range of industry experts, these specifications define a new standard for resolving many complex issues related to developing, deploying, and managing multi-tier enterprise applications.



0201704560B04062001

Sample Content

Online Sample Chapter

J2EE Security

Table of Contents



Foreword.


Java™ 2 Platform Enterprise Edition Specification, v1.2.


1. Introduction .

Acknowledgments.



2. Platform Overview.

Architecture.

Product Requirements.

Product Extensions.

Platform Roles.

Platform Contracts.



3. Security.

Introduction.

A Simple Example.

Security Architecture.

User Authentication Requirements.

Authorization Requirements.

Deployment Requirements.

Future Directions.



4. Transaction Management.

Overview.

Requirements.

Transaction Interoperability.

System Administration Tools.



5. Naming.

Overview.

Java Naming and Directory Interface™ (JNDI) Naming Context.

Enterprise JavaBeans™ (EJB) References.

Resource Factory References.

UserTransaction References.



6. Application Programming Interface.

Required APIs.

Java 2 Platform, Standard Edition (J2SE) Requirements.

JDBC™ 2.0 Standard Extension Requirements.

RMI-IIOP 1.0 Requirements.

Enterprise JavaBeans™ (EJB) 1.1 Requirements.

Servlet 2.2 Requirements.

JavaServer Pages™ (JSP) 1.1 Requirements.

Java™ Message Service (JMS) 1.0 Requirements.

Java Naming and Directory Interface™ (JNDI) 1.2 Requirements.

Java™ Transaction API (JTA) 1.0 Requirements.

JavaMail™ 1.1 Requirements.

JavaBeans™ Activation Framework 1.0 Requirements.



7. Interoperability.

Introduction to Interoperability.

Interoperability Protocols.



8. Application Assembly and Deployment.

Application Development Life Cycle.

Application Assembly.

Deployment.

J2EE: Application XML DTD.



9. Application Clients.

Overview.

Security.

Transactions.

Naming.

Application Programming Interfaces.

Packaging and Deployment.

J2EE: application-client XML DTD.



10. Service Provider Interface.


11. Future Directions.

Java™ Message Service API.

Enterprise JavaBeans™ (EJB)/IIOP Protocol.

J2EE SPI.

Connectors.

XML APIs.

JDBC RowSets.

Security APIs.

Deployment APIs.

Management APIs.

SQLJ Part.



A. Revision History.

Changes Since Public Draft.

Changes Since Public Release.

Changes Since Public Release.



B. Related Documents.

JAVA™ SERVLET SPECIFICATION, V2.2 (SRV).

Preface.

Who Should Read This Specification.

API Reference.

Other Java™ Platform Specifications.

Other Important References.

Providing Feedback.

Acknowledgments.

Overview.

What Is a Servlet?

What Is a Servlet Container?

An Example.

Comparing Servlets with Other Technologies.

Relationship to Java 2 Enterprise Edition.

Distributable Servlet Containers.

Changes Since Version 2.1.

2. Terms Used.

Basic Terms.

Roles.

Security Terms.

3 The Servlet Interface.

Request Handling Methods.

Number of Instances.

Servlet Life Cycle.

4. Servlet Context.

Scope of a ServletContext.

Initialization Parameters.

Context Attributes.

Resources.

Multiple Hosts and Servlet Contexts.

Reloading Considerations.

Temporary Working Directories.

5. The Request.

Parameters.

Attributes.

Headers.

Request Path Elements.

Path Translation Methods.

Cookies.

SSL Attributes.

Internationalization.

6. The Response.

Buffering.

Headers.

Convenience Methods.

Internationalization.

Closure of Response Object.

7. Sessions.

Session Tracking Mechanisms.

Creating a Session.

Session Scope.

Binding Attributes into a Session.

Session Timeouts.

Last Accessed Times.

Important Session Semantics.

8. Dispatching Requests.

Obtaining a RequestDispatcher.

Using a Request Dispatcher.

include.

forward.

Error Handling.

9. Web Applications.

Relationship to ServletContext.

Elements of a Web Application.

Distinction Between Representations.

Directory Structure.

Web Application Archive File.

Web Application Configuration Descriptor.

Replacing a Web Application.

Error Handling.

Web Application Environment.

10. Mapping Requests to Servlets.

Use of URL Paths.

Specification of Mappings.

11. Security.

Introduction.

Declarative Security.

Programmatic Security.

Roles .

Authentication.

Server Tracking of Authentication Information.

Specifying Security Constraints.

12. Application Programming Interface.

Package javax.servlet.

Package javax.servlet.http.

13. Deployment Descriptor.

Deployment Descriptor Elements.

DTD 196.

Examples.

14. Futures.

JavaServer Pages™ Specification, v1.1 (JSP).

Preface.

Who Should Read This Document.

Related Documents.

Acknowledgments.

1. Overview.

The JavaServer Pages™ Technology.

What Is a JSP Page?

Features in JSP 1.1.

Overview of JSP Page Semantics.

Web Applications.

Application Model.

2. Standard Syntax and Semantics.

General Syntax Rules.

Error Handling.

Comments.

Quoting and Escape Conventions.

Overview of Semantics.

Template Text Semantics.

Directives.

Implicit Objects.

The PageContext Object.

Scripting Elements.

Actions.

Tag Attribute Interpretation Semantics.

Standard Actions.

3. The JSP Container.

The JSP Page Model.

JSP Page Implementation Class.

Buffering.

Precompilation.

4 Scripting.

Overall Structure.

Declarations Section.

Initialization Section.

Main Section.

5. Tag Extensions.

Introduction.

Tag Library.

Tag Library Descriptor.

Tag Handlers.

Scripting Variables.

Cooperating Actions.

Validation.

Conventions and Other Issues.

6. JSP Technology Classes.

Package javax.servlet.jsp.

Package javax.servlet.jsp.tagext.

7. JSP Pages as XML Documents.

Why an XML Representation.

Document Type.

Directives.

Scripting Elements.

Actions.

Transforming a JSP Page into an XML Document.

DTD for the XML Document.

A. Examples.

Simple Examples.

A Set of SQL Tags.

B. Implementation Notes.

Delivering Localized Content.

Processing TagLib Directives.

Processing Tag Libraries.

Implementing Buffering.

C. Packaging JSP Pages.

A Very Simple JSP Page.

The JSP Page Packaged as Source in a WAR File.

The Servlet for the Compiled JSP Page.

The Web Application Descriptor.

The WAR for the Compiled JSP Page.

D. Future.

Meta-Tag Information.

Standard Tags.

Additional Application Support.

JSP, XML, and XSL Technologies.

E. Changes.

Changes Between 1.1 PR2 and 1.1 Final.

Changes Between 1.1 PR1 and PR2.

Changes Between 1.1 PD1 and PR1.

Changes Between 1.0 and 1.1 PD1.

Enterprise JavaBeans™ Specification, v1.1 (EJB).

1. Introduction.

Target Audience.

What Is New in EJB 1.1.

Application Compatibility and Interoperability.

Acknowledgments.

Organization.

Document Conventions.

2. Goals.

Overall Goals.

Goals for Release 1.0.

Goals for Release 1.1.

3. EJB Architecture Roles and Scenarios.

EJB Architecture Roles.

Scenario: Development, Assembly, and Deployment.

4. Overview.

Enterprise Beans as Components.

Enterprise JavaBeans Architecture Contracts.

Session and Entity Objects.

Standard Mapping to CORBA Protocols.

5. Client View of a Session Bean.

Overview.

EJB Container.

Home Interface.

EJBObject.

Session Object Identity.

Client View of Session Object's Life Cycle.

Creating and Using a Session Object.

Object Identity.

Type Narrowing.

6 Session Bean Component Contract.

Overview.

Goals.

A Container's Management of Its Working Set.

Conversational State.

Protocol Between a Session Bean Instance and Its Container.

Stateful Session Bean State Diagram.

Object Interaction Diagrams for a Stateful Session Bean.

Stateless Session Beans.

Object Interaction Diagrams for a Stateless Session Bean.

The Responsibilities of the Bean Provider.

The Responsibilities of the Container Provider.

7. Example Session Scenario.

Overview.

Inheritance Relationship.

8. Client View of an Entity.

Overview.

EJB Container.

Entity Bean's Home Interface.

Entity Object's Life Cycle.

Primary Key and Object Identity.

Entity Bean's Remote Interface.

Entity Bean's Handle.

Entity Home Handles.

Type Narrowing of Object References.

9. Entity Bean Component Contract.

Concepts.

Responsibilities of the Enterprise Bean Provider.

The Responsibilities of the Container Provider.

Entity Beans with Container-Managed Persistence.

Object Interaction Diagrams.

10. Example Entity Scenario.

Overview.

Inheritance Relationship (Figure EBJ.10-1).

11. Support for Transactions.

Overview.

Sample Scenarios.

Bean Provider's Responsibilities.

Application Assembler's Responsibilities.

Deployer's Responsibilities.

Container Provider Responsibilities.

Access from Multiple Clients in the Same Transaction Context.

12. Exception Handling.

Overview and Concepts.

Bean Provider's Responsibilities.

Container Provider Responsibilities.

Client's View of Exceptions.

System Administrator's Responsibilities.

Differences from EJB 1.0.

13. Support for Distribution.

Overview.

Client-Side Objects in Distributed Environment.

Standard Distribution Protocol.

14. Enterprise Bean Environment.

Overview.

Bean Environment as JNDI API Naming Context.

EJB References.

Resource Manager Connection Factory References.

Deprecated EJBContext.getEnvironment() Method.

UserTransaction Interface.

15. Security Management.

Overview.

Bean Provider's Responsibilities.

Application Assembler's Responsibilities.

Deployer's Responsibilities.

EJB Architecture Client Responsibilities.

EJB Container Provider's Responsibilities.

System Administrator's Responsibilities.

16. Deployment Descriptor.

Overview.

Bean Provider's Responsibilities.

Application Assembler's Responsibility.

Container Provider's Responsibilities.

Deployment Descriptor DTD.

Deployment Descriptor Example.

17. EJB JAR File.

Overview.

Deployment Descriptor.

Class Files.

ejb-client JAR File.

Deprecated in EJB 1.1.

18. Runtime Environment.

Bean Provider's Responsibilities.

Container Provider's Responsibility.

19. Responsibilities of EJB Architecture Roles.

Bean Provider's Responsibilities.

Application Assembler's Responsibilities.

EJB Container Provider's Responsibilities.

Deployer's Responsibilities.

System Administrator's Responsibilities.

Client Programmer's Responsibilities.

20. Enterprise JavaBeans™ API Reference.

Package javax.ejb.

Package javax.ejb.deployment.

21. Related Documents.
A. Features Deferred to Future Releases.
B. Frequently Asked Questions.

Client-Demarcated Transactions.

Inheritance.

Entities and Relationships.

Finder Methods for Entities with Container-Managed Persistence.

JDK 1.1 or Java.

javax.transaction.UserTransaction versus javax.jts.UserTransaction.

How to Obtain Database Connections.

Session Beans and Primary Key .

Copying of Parameters Required for EJB Calls within the Same JVM.

C. Revision History.

Changes Since Release 0.8.

Changes Since Release 0.9.

Changes Since Release 0.95.

Changes Since 1.0.

Changes Since @AHEADS = Draft.

Changes Since @AHEADS = Draft.

Changes Since Draft.

Changes Since Public Draft.

Changes Since Public Draft.

Changes Since Public Draft.

Changes Since Public Release.

Changes Since Public Release.

Glossary.
Index. 0201704560T04062001

Updates

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020