Book description
Sams Teach Yourself EJB in 21 Days introduces the development and deployment aspects of EJB, the fastest growing standards in developing Java applications in and enterprise environment. EJBs are, functionally, distributed network aware components for developing secure, scalable, transactional, and multi-user components in a J2EE environment. Sams Teach Yourself EJB in 21 Days covers the new features of EJB 2.0, such as local interface, CMP, and CMR. It provides hands-on examples based on practical solutions found in the industry. Tips and best practices give beginners an edge to avoid repeated mistakes. The review questions provide the reader with a study guide. Source code for a complete credit approval process in a transactional e-Commerce environment is provided.
Table of contents
- Copyright
- About the Authors
- Acknowledgments
- We Want to Hear from You!
- Introduction
-
Enterprise Java Architecture
- Understanding EJB Architecture
-
Understanding EJB Types and Interfaces
- Enterprise JavaBean Types
- Enterprise JavaBean Under the Hood
- EJB Interfaces
- Java Remote Method Invocation over Internet Inter-ORB Protocol Technology
- Remote and Local Interfaces
- Deployment Descriptors
- Packaging and Deploying Enterprise JavaBeans
- Enterprise JavaBean Restrictions
- Best Practices
- Summary
- Q&A
- Quiz
- Exercises
- Understanding Session Beans
- Using JNDI for Naming Services and Components
- Developing Stateless Session Beans
- Developing Stateful Session Beans
- Designing Web Applications
-
Entity Beans and Message-Driven Beans
- Understanding Entity Beans
- Using JDBC to Connect to a Database
- Developing Bean-Managed Persistence Entity Beans
- Developing Container-Managed Persistence Entity Beans
-
Developing Container-Managed Relationships
- Examining Container-Managed Relationships
- Implementing Container-Manager Relationships
- Designing Container-Managed Relationships
- Defining the Home Interfaces
- Defining the Remote Interfaces
- Implementing the Enterprise Bean Classes
- Declaring the Deployment Descriptors
- Writing a Client
- Packaging and Deploying the Enterprise Beans
- Running the Example
- Best Practices
- Summary
- Q&A
- Quiz
- Exercises
- Understanding JMS and Message-Driven Beans
-
Developing Message-Driven Beans
- Looking Under the Hood of an MDB
- Designing the Message-Driven Bean
- Implementing the Enterprise Bean Class
- Declaring the Deployment Descriptor
- Writing a Client
- Packaging and Deploying the Enterprise Bean
- Running the Example
- Examining the Life Cycle of a Message-Driven Bean
- Best Practices
- Summary
- Q&A
- Quiz
- Exercise
- Advanced EJB Applications
- Appendixes
- Index
Product information
- Title: Sams Teach Yourself EJB in 21 Days
- Author(s):
- Release date: October 2002
- Publisher(s): Sams
- ISBN: 0672324237
You might also like
book
J2EE Web Services on BEA WebLogic
"Very impressive work. This book is valuable for beginning and intermediate technologists." Dwight Mamanteo, Technical Manager, …
book
EJB 3 Developer Guide
A Practical Guide for developers and architects to the Enterprise Java Beans Standard. A rapid introduction …
book
EJB™ 2.1 Kick Start
Not just another EJB book, EJB 2.1 Kick Start distinguishes itself in two key ways. First, …
book
EJB 3 in Action
EJB 3 in Action is a fast-paced tutorial for both novice and experienced Java developers. It …