Sun ONE logo      Previous      Index      Next     

Sun ONE Application Server 7 Developer's Guide to J2EE Features and Services

Contents


About This Guide
Who Should Use This Guide
Using the Documentation
How This Guide Is Organized
Related Information
Documentation Conventions
General Conventions
Conventions Referring to Directories
Product Support

Chapter 1   Overview of J2EE Features and Services
Java™ Database Connectivity (JDBC™) API
Transaction Service
Java Naming and Directory Interface™ (JNDI) API
Java™ Message Service (JMS) API
JavaMail™ API

Chapter 2   Using the JDBC™ API for Database Access
Introducing the JDBC API
Supported Functionality
Understanding Database Limitations
General Steps for Creating a JDBC Resource
Integrating the JDBC Driver
Supported Database Drivers
Making the JDBC Driver JAR Files Accessible
Creating a Connection Pool
Using the Administration Interface
Using The Command Line Interface
Creating a JDBC Resource
Using The Administration Interface
Using The Command Line Interface
Configurations for Specific JDBC Drivers
PointBase Type4 Driver
Data Direct Connect JDBC3.0/ Type4 Driver for Oracle 9.x Databases
Creating Applications That Use the JDBC API
Using Connections
Looking Up a JDBC Resource
Pooling Connections
Sharing Connections
Opening and Closing Connections
Using JDBC Transaction Isolation Levels
Using the JDBC API in Application Layers
Using the JDBC API in EJB Components
Using the JDBC API in Servlets
Sample Applications

Chapter 3   Using the Transaction Service
Introducing Transactions
Transaction Resource Managers
Transaction Scope
Transaction Management
Container-Managed Transactions
Component-Managed Transactions
Transaction Recovery
Configuring the Transaction Service
Using the Administration Interface
Using the Command Line Interface
Looking Up a Transaction
Transaction Logging
Sample Applications

Chapter 4   Using the Java Naming and Directory Interface™
Accessing the Naming Context
Using the InitialContext to Look Up a Named Object
Naming Environment for J2EE Application Components
COSNaming Provider for Application Clients
Naming Environment for Lifecycle Modules
Configuring Resources
JDBC Resources
User Transaction Handles
JMS Resources
JavaMail Sessions
Persistence Manager Factories
URL Connection Factories
J2EE Connector Architecture Connection Factories
External JNDI Resources
Using the Administration Interface
Using the Command Line Interface
Custom Resources
Using the Administration Interface
Using the Command Line Interface
Mapping References
Sample Applications

Chapter 5   Using the Java™ Message Service
Introducing the JMS API
JMS Provider
JMS Clients
JMS Messaging Models and Interfaces
Administration of the JMS Service
Configuring the JMS Service
Using the Administration Interface
Using the Command Line Interface
Checking Whether the JMS Provider Is Running
Creating Physical Destinations
Using the Administration Interface
Using the Command Line Interface
Creating JMS Resources: Destinations and Connection Factories
Using the Administration Interface
Using the Command Line Interface
Creating Applications That Use the JMS API
Basic Steps for Developing a JMS Client
Importing the JMS Package
Looking Up Connection Factories
Creating Connections
Creating Sessions
Looking Up Destinations
Creating Message Producers
Creating Message Consumers
Starting the Connection
Processing JMS Messages
Sending Messages
Receiving Messages
Acknowledging Received Messages
JMS Cleanup
Delivering SOAP Messages Using the JMS API
Sending SOAP Messages Using the JMS API
Receiving SOAP Messages Using the JMS API
Sample Applications

Chapter 6   Using the JavaMail™ API
Introducing JavaMail
Creating a JavaMail Session
Using the Administration Interface
Using the Command Line Interface
JavaMail Session Properties
Looking Up a JavaMail Session
Sending Messages Using JavaMail
Reading Messages Using JavaMail
Sample Applications

Index


Previous      Index      Next     


Copyright 2003 Sun Microsystems, Inc. All rights reserved.