Book description
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.
Table of contents
- Copyright
- The Java™ Series
- Foreword
- About This Tutorial
- Overview
- Understanding XML
- Getting Started with Web Applications
- Java API for XML Processing
-
Simple API for XML
- When to Use SAX
- Echoing an XML File with the SAX Parser
- Adding Additional Event Handlers
- Handling Errors with the Nonvalidating Parser
- Displaying Special Characters and CDATA
- Parsing with a DTD
- Choosing Your Parser Implementation
- Using the Validating Parser
- Parsing a Parameterized DTD
- Handling Lexical Events
- Using the DTDHandler and EntityResolver
- Further Information
- Document Object Model
- Extensible Stylesheet Language Transformations
- Building Web Services with JAX-RPC
- SOAP with Attachments API for Java
- Java API for XML Registries
- Java Servlet Technology
-
JavaServer Pages Technology
- What Is a JSP Page?
- The Example JSP Pages
- The Life Cycle of a JSP Page
- Creating Static Content
- Creating Dynamic Content
- Expression Language
- JavaBeans Components
- Using Custom Tags
- Reusing Content in JSP Pages
- Transferring Control to Another Web Component
- Including an Applet
- Setting Properties for Groups of JSP Pages
- Further Information
- JavaServer Pages Documents
- JavaServer Pages Standard Tag Library
- Custom Tags in JSP Pages
- Scripting in JSP Pages
- JavaServer Faces Technology
-
Using JavaServer Faces Technology in JSP Pages
- The Example JavaServer Faces Application
- Setting Up a Page
- Using the Core Tags
- Using the HTML Component Tags
- Using Localized Messages
- Using the Standard Converters
- Registering Listeners on Components
- Using the Standard Validators
- Binding Component Values and Instances to External Data Sources
- Referencing a Backing Bean Method
- Using Custom Objects
- Developing with JavaServer Faces Technology
-
Creating Custom UI Components
- Determining Whether You Need a Custom Component or Renderer
- Understanding the Image Map Example
- Steps for Creating a Custom Component
- Creating the Component Tag Handler
- Defining the Custom Component Tag in a Tag Library Descriptor
- Creating Custom Component Classes
- Delegating Rendering to a Renderer
- Handling Events for Custom Components
-
Configuring JavaServer Faces Applications
- Application Configuration Resource File
- Configuring Beans
- Registering Messages
- Registering a Custom Validator
- Registering a Custom Converter
- Configuring Navigation Rules
- Registering a Custom Renderer with a Render Kit
- Registering a Custom Component
- Basic Requirements of a JavaServer Faces Application
- Internationalizing and Localizing Web Applications
- Enterprise Beans
-
Getting Started with Enterprise Beans
- Creating the J2EE Application
- Creating the Enterprise Bean
- Creating the Application Client
- Creating the Web Client
- Mapping the Enterprise Bean References
- Specifying the Web Client's Context Root
- Deploying the J2EE Application
- Running the Application Client
- Running the Web Client
- Modifying the J2EE Application
- Session Bean Examples
- Bean-Managed Persistence Examples
-
Container-Managed Persistence Examples
- Overview of the RosterApp Application
- The PlayerBean Code
- Method Invocations in RosterApp
- Building and Running the RosterApp Example
- A Guided Tour of the RosterApp Settings
- Primary Keys for Container-Managed Persistence
- Advanced CMP Topics: The OrderApp Example
- deploytool Tips for Entity Beans with Container-Managed Persistence
- A Message-Driven Bean Example
- Enterprise JavaBeans Query Language
- Transactions
- Resource Connections
-
Security
- Overview
- Realms, Users, Groups, and Roles
- Web-Tier Security
- Understanding Login Authentication
- Installing and Configuring SSL Support
- XML and Web Services Security
- EJB-Tier Security
- Application Client-Tier Security
- EIS-Tier Security
- Propagating Security Identity
- What Is Java Authorization Contract for Containers?
- Further Information
- The Java Message Service API
- J2EE Examples Using the JMS API
- The Coffee Break Application
- The Duke's Bank Application
- Java Encoding Schemes
- XML and Related Specs: Digesting the Alphabet Soup
- HTTP Overview
- J2EE Connector Architecture
- Glossary
- About the Authors
- CD-ROM Warranty
- Index
Product information
- Title: The J2EE™ Tutorial Second Edition
- Author(s):
- Release date: June 2004
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780321245755
You might also like
book
J2EE™ Tutorial, The
You're familiar with Java™ programming, but now it's time for you to take it to the …
book
Just Java™ 2, Fifth Edition
Java programming language and basic packages Server-side libraries and enterprise development Networking, Beans, and collections GUI …
book
Just Java™ 2
The #1 introduction to J2SE 1.5 and enterprise/server-side development! An international bestseller for eight years, is …
book
Advanced JavaServer Pages™
Design and implement flexible, extensible, and maintainable applications with servlets and JSP technology Master powerful authentication …