Enterprise JavaBeans 3.1: Developing Enterprise Java Components

Enterprise JavaBeans 3.1: Developing Enterprise Java Components

by Andrew Rubinger, Bill Burke
Enterprise JavaBeans 3.1: Developing Enterprise Java Components

Enterprise JavaBeans 3.1: Developing Enterprise Java Components

by Andrew Rubinger, Bill Burke

Paperback(Sixth Edition)

$54.99 
  • SHIP THIS ITEM
    Qualifies for Free Shipping
  • PICK UP IN STORE
    Check Availability at Nearby Stores

Related collections and offers


Overview

Learn how to code, package, deploy, and test functional Enterprise JavaBeans with the latest edition of this bestselling guide. Written by the developers of JBoss EJB 3.1, this book not only brings you up to speed on each component type and container service in this implementation, it also provides a workbook with several hands-on examples to help you gain immediate experience with these components.

With version 3.1, EJB's server-side component model for building distributed business applications is simpler than ever. But it's still a complex technology that requires study and lots of practice to master. Enterprise JavaBeans 3.1 is the most complete reference on this specification. You'll find a straightforward, no-nonsense explanation of the underlying technology, including Java classes and interfaces, the component model, and the runtime behavior of EJB.

  • Develop your first EJBs with a hands-on walkthrough of EJB 3.1 concepts
  • Learn how to encapsulate business logic with Session Beans and Message-Driven Beans
  • Discover how to handle persistence through Entity Beans, the EntityManager, and the Java Persistence API
  • Understand EJB's container services such as dependency injection, concurrency, and interceptors
  • Integrate EJB with other technologies in the Java Enterprise Edition platform
  • Use examples with either the JBossAS, OpenEJB, or GlassFish v3 EJB Containers

Product Details

ISBN-13: 9780596158026
Publisher: O'Reilly Media, Incorporated
Publication date: 10/08/2010
Edition description: Sixth Edition
Pages: 762
Product dimensions: 7.00(w) x 9.10(h) x 1.60(d)

About the Author

As Senior Software Engineer at JBoss, a Division of Red Hat, Andrew Lee Rubinger is primarily responsible for development of the company's EJB 3.x implementation. He was an early adopter of Java EE technologies and an active contributor in the tech community.

Bill Burke is a Fellow at the JBoss division of REd Hat Inc. A long time JBoss contributor and architect, his current project is RESTEasy, RESTful Web Services for Java.

Table of Contents

Preface; Author’s Note; Who Should Read This Book; How This Book Is Organized; Software and Versions; Conventions Used in This Book; Using Code Examples; Safari® Books Online; Comments and Questions; Acknowledgments; Why Enterprise JavaBeans?; Chapter 1: Introduction; 1.1 The Problem Domain; Chapter 2: Component Types; 2.1 Server-Side Component Types; 2.2 Entity Beans; 2.3 The Model Isn’t Everything; Chapter 3: Container Services; 3.1 Dependency Injection (DI); 3.2 Concurrency; 3.3 Instance Pooling/Caching; 3.4 Transactions; 3.5 Security; 3.6 Timers; 3.7 Naming and Object Stores; 3.8 Interoperability; 3.9 Lifecycle Callbacks; 3.10 Interceptors; 3.11 Platform Integration; 3.12 Bringing It Together; Chapter 4: Developing Your First EJBs; 4.1 Step 1: Preparation; 4.2 Step 2: Coding the EJB; 4.3 Summary; Server-Side Component Models; Chapter 5: The Stateless Session Bean; 5.1 The XML Deployment Descriptor; 5.2 SessionContext; 5.3 The Lifecycle of a Stateless Session Bean; 5.4 Example: The EncryptionEJB; 5.5 Asynchronous Methods; Chapter 6: The Stateful Session Bean; 6.1 The Lifecycle of a Stateful Session Bean; 6.2 Example: The FileTransferEJB; Chapter 7: The Singleton Session Bean; 7.1 Concurrency; 7.2 Lifecycle; 7.3 Example: The RSSCacheEJB; Chapter 8: Message-Driven Beans; 8.1 JMS and Message-Driven Beans; 8.2 JMS-Based Message-Driven Beans; 8.3 The Lifecycle of a Message-Driven Bean; 8.4 Connector-Based Message-Driven Beans; 8.5 Message Linking; EJB and Persistence; Chapter 9: Persistence: EntityManager; 9.1 Entities Are POJOs; 9.2 Managed Versus Unmanaged Entities; 9.3 Packaging a Persistence Unit; 9.4 Obtaining an EntityManager; 9.5 Interacting with an EntityManager; 9.6 Example: A Persistent Employee Registry; Chapter 10: Mapping Persistent Objects; 10.1 The Programming Model; 10.2 Basic Relational Mapping; 10.3 Primary Keys; 10.4 Property Mappings; 10.5 @Embedded Objects; Chapter 11: Entity Relationships; 11.1 The Seven Relationship Types; 11.2 Mapping Collection-Based Relationships; 11.3 Detached Entities and FetchType; 11.4 Cascading; Chapter 12: Entity Inheritance; 12.1 Single Table per Class Hierarchy; 12.2 Table per Concrete Class; 12.3 Table per Subclass; 12.4 Mixing Strategies; 12.5 Nonentity Base Classes; Chapter 13: Queries, the Criteria API, and JPA QL; 13.1 Query API; 13.2 JPA QL; 13.3 Native Queries; 13.4 Named Queries; Chapter 14: Entity Callbacks and Listeners; 14.1 Callback Events; 14.2 Callbacks on Entity Classes; 14.3 Entity Listeners; Container Services; Chapter 15: Security; 15.1 Authentication and Identity; 15.2 Authorization; 15.3 Example: A Secured School; Chapter 16: JNDI, the ENC, and Injection; 16.1 Global JNDI; 16.2 The JNDI ENC; 16.3 Reference and Injection Types; Chapter 17: Transactions; 17.1 ACID Transactions; 17.2 Declarative Transaction Management; 17.3 Isolation and Database Locking; 17.4 Nontransactional EJBs; 17.5 Explicit Transaction Management; 17.6 Exceptions and Transactions; 17.7 Transactional Stateful Session Beans; 17.8 Conversational Persistence Contexts; Chapter 18: Interceptors; 18.1 Intercepting Methods; 18.2 Interceptors and Injection; 18.3 Intercepting Lifecycle Events; 18.4 Exception Handling; 18.5 Interceptor Lifecycle; 18.6 Bean Class @AroundInvoke Methods; Chapter 19: Timer Service; 19.1 Example: A Batch Credit Card Processing System; 19.2 Transactions; 19.3 Stateless Session Bean Timers; 19.4 Message-Driven Bean Timers; Chapter 20: EJB 3.1: Web Services Standards; 20.1 Web Services Overview; 20.2 XML Schema and XML Namespaces; 20.3 SOAP 1.1; 20.4 WSDL 1.1; 20.5 UDDI 2.0; 20.6 From Standards to Implementation; Chapter 21: EJB 3.1 and Web Services; 21.1 Accessing Web Services with JAX-RPC; 21.2 Defining a Web Service with JAX-RPC; 21.3 Using JAX-WS; 21.4 Other Annotations and APIs; 21.5 JAXB; 21.6 Conclusion; Examples; FirstEJB Example; Description; Online Companion Information; Source Listing; Stateless Session EJB: Encryption Example; Description; Online Companion Information; Source Listing; Stateful Session EJB: FTP Client Example; Description; Online Companion Information; Source Listing; Singleton Session EJB: RSS Cache Example; Description; Online Companion Information; Source Listing; Message-Driven EJB: Status Update Listeners Example; Description; Online Companion Information; Source Listing; Java Persistence APIs: Employee Registry Example; Description; Online Companion Information; Source Listing; Security: Secured School Example; Description; Online Companion Information; Source Listing; Transactions: Blackjack Game Example; Description; Online Companion Information; Source Listing; Interceptors: TV Channel Service Example; Description; Online Companion Information; Source Listing; Timer Service: Credit Card Processor Example; Description; Online Companion Information; Source Listing; Colophon;
From the B&N Reads Blog

Customer Reviews