Buying Options
Enterprise JavaBeans, Fourth Edition
Safari Books Online
Add to Cart
What is this?

Product Editions

Please consider the latest edition.

  1. Enterprise JavaBeans 3.0, Fifth Edition - May 2006
  2. Enterprise JavaBeans, Fourth Edition - June 2004
  3. Enterprise JavaBeans, Third Edition - September 2001
  4. Enterprise JavaBeans, Second Edition - September 2001
  5. Enterprise JavaBeans - August 1999 (out of print)
Description
This authoritative guide includes everything that made previous editions of Enterprise JavaBeans the single must-have book for EJB developers: the author's solid grasp on the complexities of EJBs; hundreds of clear, practical examples; adept coverage the key concepts EJBs ; and diagrams to illustrate the concepts presented. The fourth edition also includes everything you need to get up to speed quickly on the changes in EJB version 2.1 as well as a JBoss implementation guide.
Full Description
Table of Contents
  1. Lay of the Land

    1. Chapter 1 Introduction

      1. Server-Side Components
      2. Distributed Object Architectures
      3. Component Models
      4. Asynchronous Messaging
      5. Titan Cruises: An Imaginary Business
      6. What's Next?
    2. Chapter 2 Architectural Overview

      1. The Enterprise Bean Component
      2. Using Enterprise Beans
      3. The Bean-Container Contract
      4. Summary
    3. Chapter 3 Resource Management and the Primary Services

      1. Resource Management
      2. Primary Services
      3. What's Next?
    4. Chapter 4 Developing Your First Enterprise Beans

      1. Choosing and Setting Up an EJB Server
      2. Developing an Entity Bean
      3. Developing a Session Bean
    5. Chapter 5 The Remote and Local Client View

      1. Locating Beans with JNDI
      2. The Remote Client API
      3. The Local Client API
    6. Chapter 6 CMP: Basic Persistence

      1. The Abstract Programming Model
      2. The Customer EJB
      3. Persistence Fields
      4. Dependent Value Classes
      5. Relationship Fields
    7. Chapter 7 CMP: Entity Relationships

      1. The Seven Relationship Types
    8. Chapter 8 CMP: EJB QL

      1. Declaring EJB QL
      2. The Query Methods
      3. EJB QL Examples
      4. Problems with EJB QL
    9. Chapter 9 Bean-Managed Persistence

      1. The Remote Interface
      2. The Remote Home Interface
      3. The Primary Key
      4. The ShipBean
      5. Obtaining a Resource Connection
      6. Exception Handling
      7. The ejbCreate( ) Method
      8. The ejbLoad( ) and ejbStore( ) Methods
      9. The ejbRemove( ) Method
      10. The ejbFind( ) Methods
      11. The Deployment Descriptor
    10. Chapter 10 The Entity-Container Contract

      1. The Primary Key
      2. The Callback Methods
      3. ejbHome( )
      4. EntityContext
      5. The Life Cycle of an Entity Bean
    11. Chapter 11 Session Beans

      1. The Stateless Session Bean
      2. The Life Cycle of a Stateless Session Bean
      3. The Stateful Session Bean
      4. The Life Cycle of a Stateful Session Bean
    12. Chapter 12 Message-Driven Beans

      1. JMS and Message-Driven Beans
      2. JMS-Based Message-Driven Beans
      3. The Life Cycle of a Message-Driven Bean
      4. Connector-Based Message-Driven Beans
      5. EJB 2.1: Message Linking
    13. Chapter 13 Timer Service

      1. Titan's Maintenance Timer
      2. Timer Service API
      3. Transactions
      4. Entity Bean Timers
      5. Stateless Session Bean Timers
      6. Message-Driven Bean Timers
      7. Final Words
    14. Chapter 14 EJB 2.1: Web Service Standards

      1. Web Services Overview
      2. XML Schema and XML Namespaces
      3. SOAP 1.1
      4. WSDL 1.1
      5. UDDI 2.0
      6. From Standards to Implementation
    15. Chapter 15 EJB 2.1 and Web Services

      1. Accessing Web Services with JAX-RPC
      2. EJB Endpoints
    16. Chapter 16 Transactions

      1. ACID Transactions
      2. Declarative Transaction Management
      3. Isolation and Database Locking
      4. Nontransactional Beans
      5. Explicit Transaction Management
      6. Exceptions and Transactions
      7. Transactional Stateful Session Beans
    17. Chapter 17 J2EE

      1. Servlets
      2. JavaServer Pages
      3. Web Components and EJB
      4. Filling in the Gaps
      5. Fitting the Pieces Together
    18. Chapter 18 XML Deployment Descriptors

      1. The ejb-jar File
      2. The Contents of a Deployment Descriptor
      3. The Document Headerand Schema Declarations
      4. The Descriptor's Body
      5. Describing Enterprise Beans
      6. Describing Relationships
      7. Describing Bean Assembly
    19. Chapter 19 EJB Design in the Real World

      1. Pre-Design: Containers and Databases
      2. Design
      3. Should You Use EJBs?
      4. Wrapping Up
  2. JBoss Workbook

    1. Chapter 20 Introduction

      1. Contents of the JBoss Workbook
    2. Chapter 21 JBoss Installation and Configuration

      1. About JBoss
      2. Installing JBoss Application Server
      3. A Quick Look at JBoss Internals
      4. Exercise Code Setup and Configuration
    3. Chapter 22 Exercises for Chapter 4

      1. Exercise 4.1: A Simple Entity Bean
      2. Exercise 4.2: A Simple Session Bean
    4. Chapter 23 Exercises for Chapter 5

      1. Exercise 5.1: The Remote Component Interfaces
      2. Exercise 5.2: The EJBObject, Handle, and Primary Key
      3. Exercise 5.3: The Local Component Interfaces
    5. Chapter 24 Exercises for Chapter 6

      1. Exercise 6.1: Basic Persistence in CMP 2.0
      2. Exercise 6.2: Dependent Value Classes in CMP 2.0
      3. Exercise 6.3: A Simple Relationship in CMP 2.0
    6. Chapter 25 Exercises for Chapter 7

      1. Exercise 7.1: Entity Relationships in CMP 2.0, Part 1
      2. Exercise 7.2:Entity Relationships in CMP 2.0, Part 2
      3. Exercise 7.3: Cascade Deletes in CMP 2.0
    7. Chapter 26 Exercises for Chapter 8

      1. Exercise 8.1: Simple EJB QL Statements
      2. Exercise 8.2: Complex EJB QL Statements
    8. Chapter 27 Exercises for Chapter 9

      1. Exercise 9.1: A BMP Entity Bean
    9. Chapter 28 Exercises for Chapter 11

      1. Exercise 11.1: A Stateless Session Bean
      2. Exercise 11.2: A Stateful Session Bean
    10. Chapter 29 Exercises for Chapter 12

      1. Exercise 12.1: JMS as a Resource
      2. Exercise 12.2: The Message-Driven Bean
    11. Chapter 30 Exercises for Chapter 13

      1. Exercise 13.1: EJB Timer Service
    12. Chapter 31 Exercises for Chapter 15

      1. Exercise 15.1: Web Services and EJB 2.1
    13. Appendix A Database Configuration

      1. Set Up the Database
      2. Examine the JBoss-Specific Files
      3. Start Up JBoss
      4. Build and Deploy the Example Programs
      5. Examine and Run the Client Applications
  1. Colophon

View Full Table of Contents
Product Details
Title:
Enterprise JavaBeans, Fourth Edition
By:
Richard Monson-Haefel, Bill Burke, Sacha Labourey
Publisher:
O'Reilly Media
Formats:
  • Print
  • Safari Books Online
Print Release:
June 2004
Pages:
792
Print ISBN:
978-0-596-00530-6
| ISBN 10:
0-596-00530-X
Customer Reviews
About the Author
  1. Richard Monson-Haefel

    Richard Monson-Haefel is the author of Enterprise JavaBeans, 3rd Edition, Java Message Service and one of the world's leading experts and book authors on Enterprise Java. He is the lead architect of OpenEJB, an open source EJB container used in Apple Computer's WebObjects plateform, and has consulted as an architect on J2EE, CORBA, Java RMI and other distributed computing projects over the past several years.

    View Richard Monson-Haefel's full profile page.

Colophon

Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animals on the cover of Enterprise JavaBeans, Fourth Edition, are a wallaby and her joey. Wallabies are middle-sized marsupials belonging to the kangaroo family (Macropodidae, the second-largest marsupial family). They are grazers and browsers, native to Australia and found in a variety of habitats on that continent. Female wallabies have a well-developed anterior pouch in which they hold their young. When they are born, the tiny, still-blind joeys instinctively crawl up into their mothers' pouches and begin to nurse. They stay in the pouch until they are fairly well-grown. A female wallaby can support joeys from up to three litters at once: one in her uterus, one in her pouch, and one that has graduated from the pouch but still returns to nurse.

Like all Macropodidae, wallabies have long, narrow hind feet and powerful hind limbs. Their long, heavy tails are used primarily for balance and stability and are not prehensile. Wallabies resemble kangaroos, but are smaller: they can measure anywhere from less than two feet to over five feet long, with the tail accounting for nearly half of their total length. Oddly enough, although they can hop along quite quickly (reaching speeds of up to 50 km/h), it is physically impossible for wallabies to walk backward!

The three main types of wallaby are brush, rock, and nail-tailed. There are 11 species of brush wallaby (genus Macropus), including the red-necked and pretty-faced wallabies, and 6 named species of rock wallaby (Petrogale). Brush wallabies usually live in brushland or open woods. Rock wallabies, which are notable for their extreme agility, are usually found among rocks and near water. There are only three species of nail-tailed wallaby (Onychogalea), which are so named because of the horny growth that appears on the tip of their tails. Two of these species are endangered--although they were once the most numerous type of wallaby, their numbers have been seriously depleted by foxes and feral cats. Aside from hunting and habitat destruction, predation and competition by introduced species such as these are what threaten wallabies today. Colleen Gorman was the production editor and copyeditor for Enterprise JavaBeans, Fourth Edition. Leanne Soylemez was the proofreader. Reg Aubry and Mary Anne Weeks Mayo provided quality control. Julie Hawks wrote the index.

Hanna Dyer designed the cover of this book, based on a series design by Edie Freedman. The cover image is an original engraving from The Illustrated Natural History: Mammalia, by J.G. Wood, published in 1865. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.

David Futato designed the interior layout. This book was converted by Julie Hawks to FrameMaker 5.5.6 with a format conversion tool created by Erik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. The tip and warning icons were drawn by Christopher Bing. This colophon was written by Rachel Wheeler.

Whenever possible, our books use a durable and flexible lay-flat binding. If the pagecount exceeds this binding's limit Perfect Binding is used.

  • Book cover of Enterprise JavaBeans