Book description
Special Edition Using EJB 2.0 starts with a description of how EJB fits into the big picture of J2EE development, then covers such topics as:
Locating EJB's using JNDI
Managing data with EJB Query Language
Building JMS applications using the new Message-driven Bean
Planning EJB applications using design patterns
Later chapters describe advanced development topics including interoperability, horizontal services and clustering. Throughout the book, the authors construct a component-based auction web site using the J2EE architecture as a practical example.
Table of contents
- Copyright
- About the Authors
- Acknowledgments
- Tell Us What You Think!
- Introduction
-
Developing Enterprise JavaBeans
- Introduction to Enterprise Applications
- Setting the Stage–An Example Auction Site
-
EJB Concepts
- Grasping the Concepts Early
- What Is an Enterprise Bean?
- EJB Roles and Their Responsibilities
- Local Versus Remote EJB Clients
- Using RMI to Communicate with Enterprise JavaBeans
- Accessing an EJB Through Its Component Interface
- Locating Enterprise Beans Using the Home Interface
- Deciding Whether to Use a Local or Remote Client
- Creation and Removal of EJBs
- Passivation and Activation
- Object Pooling
- Handles
- The EJBMetaData Class
- EJB Server and Container Implementations
-
Java Naming and Directory Interface
- Why Applications Need Naming and Directory Services
- Overview of the JNDI Architecture
- Selecting and Configuring a JNDI Provider
- The JNDI Environment Properties
- Setting the JNDI Environment Properties
- The Context and InitialContext Objects
- Getting the Environment for a Context Object
- Using the lookup Method to Locate JNDI Resources
- Locating EJB Objects
- Accessing an EJB’s Environment
- Establishing Security Through the InitialContext
- JNDI and Clustering
- Troubleshooting
- Entity Beans
- Bean-Managed Persistence
- Container-Managed Persistence
- EJB Query Language
- Session Beans
-
Java Message Service
- Introduction to Messaging
- Components of the JMS Architecture
- The Two JMS Message Models
- The JMS Interfaces
- The Details of a JMS Message
- Message Selection and Filtering
- Using the JMS Point-to-Point Model
- Using the JMS Publish/Subscribe Model
- Synchronous Versus Asynchronous Messaging
- Message Persistence
- Using Transactions with JMS
- Using JMS with Enterprise JavaBeans
- Troubleshooting
-
Message-Driven Beans
- What Are Message-Driven Beans?
- The Message-Driven Bean and the Container
- Using Message-Driven Beans with EJB
- Using JMS Queues or Topics with Message-Driven Beans
- Creating a Message-Driven Bean
- Deploying a Message-Driven Bean
- Sending Messages to a Message-Driven Bean
- Acknowledging Messages from Message-Driven Beans
- Using Transactions with Message-Driven Beans
- Troubleshooting
- Transactions
- Exception Handling
- Security Design and Management
- Deployment
- Design and Performance
- Building the Web Tier
- Advanced Concepts
- Appendixes
Product information
- Title: Special Edition Using Enterprise JavaBeans™ 2.0
- Author(s):
- Release date: September 2001
- Publisher(s): Que
- ISBN: 9780789725677
You might also like
book
Sams Teach Yourself J2EE™ in 21 Days, Second Edition
J2EE has become required knowledge for any serious Java developer, but learning this large and complex …
book
J2EE™ Tutorial, The
You're familiar with Java™ programming, but now it's time for you to take it to the …
book
Getting Started with Pyparsing
Need to extract data from a text file or a web page? Or do you want …
book
Enterprise JavaBeans, Third Edition
Enterprise JavaBeans was recently voted "Best Java Book" by the editors and readers of Java Developer's …