Home > Store

EJB 2.1 Kick Start

Register your product to gain access to bonus material or receive a coupon.

EJB 2.1 Kick Start

Premium Website

  • Sorry, this book is no longer in print.
Not for Sale


  • Copyright 2003
  • Edition: 1st
  • Premium Website
  • ISBN-10: 0-672-32178-5
  • ISBN-13: 978-0-672-32178-8

Not just another EJB book, EJB 2.1 Kick Start distinguishes itself in two key ways. First, author Peter Thaggard builds his examples from the new paradigms introduced in EJB 2.X rather than simply rewriting EJB 1.0 code. The changes in EJB 2.X programming--particularly in the areas of deployment descriptors and data persistence--require a new way of thinking about application architecture. The second distinction comes from the use of a project life-cycle approach.

Thaggard presents examples using the define-describe-build approach advocated by the thought leaders in object-oriented programming rather than simply laying out the features of the EJB specification. The result is a readable book that will successfully guide EJB programmers and those migrating from EJB 1/x.



The program used for the examples in the book - 284 kb -- bookeaz_source.zip

Sample Content

Online Sample Chapters

Implementing a Solution Using EJB 2

Implementing a Solution Using EJB 2

Table of Contents

(NOTE: Each chapter concludes with a Conclusion.)



1. The Status Quo.

The Problem with the Status Quo. The Knight in Shining Armor: EJB. The Business Plan. BookEaz Business Plan. Use Cases Lite. Use Case Analysis of BookEaz. BookEaz Use Case Document.

2. Designing a Solution Using EJB.

Logical Modeling: The Key to Designing EJB Systems. Keeping It Strictly Business. BookEaz Sequence Diagrams.

3. Implementing a Solution Using EJB 2.0.

The EJB Runtime Environment. Installing an Application Server and Deploying EJBs into It. Divide and Conquer. The Rest of the Story: Deploying EJBs.

4. Complex Entity Beans and Local Objects.

Implementing Local Entity Beans. Complex Entity Bean Relationships. Implementing and Deploying ShoppingCart.

5. Session Beans and Message-Driven Beans.

Coding Checkout. Implementing Message-Driven Beans.


6. All About Deployment.

Deployment Overview.

7. Entity Beans.

Compiling and Running Part 7's Examples. Remote/Local Interfaces. Remote and Local Home Interfaces. Entity Bean Implementations. BMP Implementations.

8. Session Bean Reference.

Compiling and Running the Examples. Stateful and Stateless Session Beans. Session Bean Component Interface. Business Method Declarations in Web Service Endpoint Interfaces. Remote and Local Session Bean Home Interfaces. Session Bean Implementations.

9. Message-Driven Bean (MDB) Reference.

Queues and Topics. The Two Interfaces of MDBs. MDB Best Practices.

10. EJB 2.1 Web Service and Timer Service Support.

Web Services Overview. Implementing Web Services as Session Beans. EJB 2.1 Timer Service. Creating a Timed Object.


Appendix A. Introduction to UML for Analysis and Design.

Models and Diagrams. Documenting Analysis with Use Cases and Scenario Diagrams. Class Diagrams.

Appendix B. Installing and Configuring the J2EE Reference Server.

Obtaining and Installing the Reference Server.

Appendix C. Installing and Configuring WebLogic Server.

Installing WebLogic Server 6.1, Service Pack 2. Obtaining and Installing WebLogic Server 6.1. Installing WebLogic Server 7.0.


Updates & Corrections

The update for this book is provided to you in Adobe's Portable Document Format (PDF) which is readable by Adobe's Acrobat Reader. If you have Acrobat installed, left-clicking on the link will open a new window with the document displayed. Once the document is opened, you can save it to your hard drive by clicking on the disk icon in the left corner. If you do not have Acrobat Reader installed, you will be prompted to save the file. To download the document without opening it in a new window, right-click on the file and select the save file option.

The introduction for the book in Adobe's Portable Document Format (PDF) - 9 kb -- Intro.pdf


The errata for the book is available here in Adobe Portable Document Format (PDF) format. You will need Adobe's Acrobat Reader to view these files. If you do not have the Acrobat Reader installed, you may go to Adobe Systems' web site to download this free reader.

Click on the links below to display the PDF file in a new window. Right-click on the link and select Save As if you want to download it to your hard drive.

Errata for the book - 394 kb -- 0672321785errata.pdf

Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership