Developing EJB 2.0 Components

Developing EJB 2.0 Components

By (author) 

List price: US$49.99

Currently unavailable

Add to wishlist

AbeBooks may have this title (opens in new window).

Try AbeBooks


Whether you're new to EJB and J2EE or you're upgrading from previous versions, this hands-on, practical book will teach you the real "nuts and bolts" of Enterprise JavaBeans 2.0 development. Unlike previous books, this one shows how to make the most of EJB 2.0 within the broader context of the entire J2EE 1.3 platform, helping you use the facilities available throughout the platform and use Enterprise JavaBeans to deliver on all the functionality the platform can offer. This book introduces every significant element of the recently finalized EJB 2.0 specification, using real-world examples you can adapt for your own projects. Every chapter ends with a hands-on project; the book ends by showing how to integrate these projects into one full-fledged enterprise application. Coverage includes packaging and deploying EJB 2.0 components, migrating existing EJB 1.0/1.1 applications to EJB 2.0 environments, and much more. For every Java developer working with J2EE technologies in enterprise environments -- including those new to EJB and J2EE as well as those migrating from EJB 1.0 or 1.1.
show more

Product details

  • Paperback | 656 pages
  • 171.7 x 239.3 x 31.8mm | 934.42g
  • Prentice Hall
  • Upper Saddle River, United States
  • English
  • w. figs.
  • 0130348635
  • 9780130348630

Table of contents

(NOTE: Each chapter concludes with a Summary.)Preface. I. OVERVIEW. 1. Introduction TO Java 2 Enterprise Edition 1.3. The Evolution of Enterprise Computing. Considerations of Enterprise Computing. Enterprise Computing Platforms. Technologies Required by J2EE 1.3. The J2EE Architecture. Technical Advantages of the J2EE Architecture. Business-Related Advantages of the J2EE Architecture. J2EE Development and Deployment Roles. Developing a J2EE Application. J2EE Disadvantages.2. Introduction to Enterprise JavaBeans 2.0. The Software Component Model. Enterprise JavaBeans Architecture. EJB Security. EJB Advantages. EJB Disadvantages. Differences between Enterprise JavaBeans and JavaBeans.II. DEVELOPING EJBS. 3. Overview of Sample Applications. Naming Conventions. Locating Example Source Code. Database Tables. Sample Application Descriptions.4. The EJB Client View. Distributed Objects. Introduction to JNDI. JNDI in a Client Application. JNDI and EJBs. Introduction to RMI-IIOP. The EJB Client View. Remote and Local Interfaces. Local and Remote Interface APIs. Rules for Writing Remote and Local Interfaces. Creating a Remote Client Application. Compiling and Executing HelloWorld. Packaging the HelloWorld Application. Using the Local or the Remote Interface. Application Performance.5. Introduction to Session Beans. Session Bean Characteristics. Types of Session Beans. Session Bean Elements. Writing Session Beans: Rules and Requirements. Roles of the Deployment Tool in Implementing Session Beans. Packaging a Session Bean. Deployment.6. Developing Stateless Session Beans. Characteristics and Features of Stateless Session Beans. Stateless Session Bean Life Cycles. A Stateless Schedule Bean Application.7. Developing Stateful Session Beans. Characteristics of SFSBs. When to Use SFSBs. The SFSB Life Cycle. Implementing a Shopping Cart Application.8. Introduction to Entity Beans. Overview. Entity Bean Characteristics. Types of Entity Beans. Life Cycle of an Entity Bean. Entity Bean Elements. Rules for Implementing the Entity Bean Class. Rules for Method Implementation. Comparing BMP and CMP Entity Beans. Concurrent Access in Entity Beans. Differences between Session and Entity Beans. Object Identity, Handle, and Primary Key. New Features of CMP 2.0 Entity Beans.9. Developing Bean-Managed Entity Beans. BMP Characteristics. Bean-Managed Persistence. BMP Sample Application.10. CMP 2.0: Abstract Persistence Model and EJB QL. CMP 2.0 Entity Bean Architecture. EJB Query Language. Rules for Writing CMP 2.0 Entity Bean Classes. Rules for Writing Abstract Accessor Methods. Rules for Writing Dependent Value Classes. Rules for Writing ejbSelect Methods. Responsibilities in CMP Entity Bean Development. Comparing BMP and CMP Entity Beans. The Primary Key for CMP 2.0 Entity Beans.11. Developing CMP 2.0 Entity Beans. Characteristics of CMP 2.0 Entity Beans. Advantages of CMP Entity Beans over BMP Entity Beans. CMP 2.0 Entity Bean Sample Application.12. Java Message Service. Introduction to Java Message Service. JMS Architecture. Messaging Domain Models. The JMS Programming Model. JMS Integration with EJBs.13. Developing Message-Driven Beans. Characteristics of MDBs. Elements of MDBs. The Life Cycle of MDBs. Comparing MDBs with Session and Entity Beans. Rules for Writing the MDB Class and Its Methods. MDB EJB Sample Application: RosterMDB. RosterApp Deployment Descriptors.III. ADVANCED TOPICS. 14. Transactions. An Introduction to Transactions and Their Benefits. The Transaction Model. ACID Properties of a Transaction. Transaction Attributes. Implementing Transactions Programmatically or Declaratively. Transaction Behavior of SFSB, BMP, and CMP Entity Beans. Initiating a Transaction. Bean-Managed versus Container-Managed Transaction Demarcation. Isolation Levels. Transaction Roles and Responsibilities.15. Enterprise JavaBean Security. Understanding the EJB Security Model. Roles in Implementing EJB Security. Implementing Security Declaratively. Implementing Security Programmatically. Declarative versus Programmatic Security. Implementing Resource Manager Security. Security Applicability and Restrictions. Security Interoperability. Roles and Responsibilities in Implementing Security.16. EJB Design Patterns, Interoperability, and Performance. Introduction to EJB Design Patterns. Data Access Object. Value Object. Value Object Assembler. Value List Handler. Service Locator. Session Facade. Business Delegate. Additional Patterns. EJB Interoperability. EJB Performance Issues.17. Migrating EJB 1.1 Applications to the EJB 2.0 Container. Migration Options and Approaches. EJB 1.1 Shortcomings. Migrating EJB 1.1 Applications to EJB 2.0.18. Assembling the J2EE Online Registration Application. Design Goals. Applying Design Patterns. Refactoring Existing EJBs. Assembling and Deploying the Application. Final Thoughts.19. Installing and Running Sun Reference Implementation J2SDKEE 1.3. Installation Requirements. Installation Overview in Brief. Setting up the Development Environment. Setting up the Application Environment. Preparing the J2SDKEE for Operation.Index.
show more

About Pravin Tulachan

PRAVIN V. TULACHAN is a J2EE platform architect and instructor with, a J2EE platform training and consulting company based in Silicon Valley. He has more than 16 years of IT experience and has spent the last six years as a Web/Java platform consultant focusing on server-side application development. He is on the faculty of Java University and also teaches a course on the J2EE platform for Sun Educational Services and the University of California, Berkeley Extension.
show more