Enterprise JavaBeans 3.1

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...

Descripción completa

Detalles Bibliográficos
Otros Autores: Rubinger, Andrew Lee, author (author), Burke, Bill (Journalist), author
Formato: Libro electrónico
Idioma:Inglés
Publicado: Sebastopol : O'Reilly [2010]
Edición:6th ed
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009628111406719
Tabla de Contenidos:
  • Table of Contents; Preface; Author's Note; Who Should Read This Book; How This Book Is Organized; Part I, Why Enterprise JavaBeans?; Part II, Server-Side Component Models; Part III, EJB and Persistence; Part IV, Container Services; Part V, Examples; Software and Versions; Conventions Used in This Book; Using Code Examples; Safari® Books Online; Comments and Questions; Acknowledgments; Part I. Why Enterprise JavaBeans?; Chapter 1. Introduction; The Problem Domain; Breaking Up Responsibilities; Core concerns; Cross-cutting concerns; Plumbing; Code Smart, Not Hard; Do less; The Container
  • The Enterprise JavaBeansTM 3.1 SpecificationEJB defined; Review; Chapter 2. Component Types; Server-Side Component Types; Session Beans; Stateless session beans (SLSBs); Stateful session beans (SFSBs); Singleton beans; Message-Driven Beans (MDBs); Entity Beans; The Java Persistence Model; The Model Isn't Everything; Chapter 3. Container Services; Dependency Injection (DI); Concurrency; Instance Pooling/Caching; Transactions; Security; Timers; Naming and Object Stores; Interoperability; Lifecycle Callbacks; Interceptors; Platform Integration; Bringing It Together
  • Chapter 4. Developing Your First EJBsStep 1: Preparation; Definitions; Bean implementation class (session and message-driven beans); Bean instance (session and message-driven beans); Client view (session and message-driven beans); EJB Proxy (session beans); Local versus remote (session beans); Business interface (session beans); Component interface (session beans); Home interface (session beans); Endpoint interface (session beans); Message interface (MDBs); Naming Conventions; Common business name; Conventions for the Examples; Step 2: Coding the EJB; The Contract
  • The Bean Implementation ClassOut-of-Container Testing; Integration Testing; Packaging; Deployment into the Container; The client; Summary; Part II. Server-Side Component Models; Chapter 5. The Stateless Session Bean; The XML Deployment Descriptor; SessionContext; EJBContext; The Lifecycle of a Stateless Session Bean; The Does Not Exist State; The Method-Ready Pool; Transitioning to the Method-Ready Pool; Life in the Method-Ready Pool; Transitioning out of the Method-Ready Pool: The death of a stateless bean instance; Example: The EncryptionEJB; The Contract: Business Interfaces
  • Application ExceptionsBean Implementation Class; Accessing Environment Properties (Injection and Lookup); Asynchronous Methods; Chapter 6. The Stateful Session Bean; The Lifecycle of a Stateful Session Bean; The Does Not Exist State; The Method-Ready State; Transitioning into the Method-Ready state; Life in the Method-Ready state; Transitioning out of the Method-Ready state; The Passivated State; System exceptions; Example: The FileTransferEJB; The Contract: Business Interfaces; Exceptions; Bean Implementation Class; POJO Testing Outside the Container; Integration Testing
  • Chapter 7. The Singleton Session Bean