Op werkdagen voor 23:00 besteld, morgen in huis Gratis verzending vanaf €20
,

Enterprise JavaBeans 3.1, 6th Edition

Developing Enterprise Java Components

Specificaties
Paperback, 738 blz. | Engels
O'Reilly | 6e druk, 2010
ISBN13: 9780596158026
Rubricering
Hoofdrubriek : Computer en informatica
O'Reilly 6e druk, 2010 9780596158026
Verwachte levertijd ongeveer 16 werkdagen

Samenvatting

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

Specificaties

ISBN13:9780596158026
Taal:Engels
Bindwijze:paperback
Aantal pagina's:738
Uitgever:O'Reilly
Druk:6
Verschijningsdatum:24-9-2010
Hoofdrubriek:IT-management / ICT

Over Andrew Lee Rubinger

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 JEE technologies and an active contributor in the tech community.

Andere boeken door Andrew Lee Rubinger

Over Bill Burke

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.

Andere boeken door Bill Burke

Inhoudsopgave

Preface

Part 1: Why Enterprise JavaBeans?
1. Introduction
-The Problem Domain

2. Component Types
-Server-Side Component Types
-Entity Beans
-The Model Isn't Everything

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

4. Developing Your First EJBs
-Step 1: Preparation
-Step 2: Coding the EJB
-Summary

Part 2: Server-Side Component Models
5. The Stateless Session Bean
-The XML Deployment Descriptor
-SessionContext
-The Lifecycle of a Stateless Session Bean
-Example: The EncryptionEJB
-Asynchronous Methods

6. The Stateful Session Bean
-The Lifecycle of a Stateful Session Bean
-Example: The FileTransferEJB

7. The Singleton Session Bean
-Concurrency
-Lifecycle
-Example: The RSSCacheEJB

8. Message-Driven Beans
-JMS and Message-Driven Beans
-JMS-Based Message-Driven Beans
-The Lifecycle of a Message-Driven Bean
-Connector-Based Message-Driven Beans
-Message Linking

Part 3: EJB and Persistence
9. Persistence: EntityManager
-Entities Are POJOs
-Managed Versus Unmanaged Entities
-Packaging a Persistence Unit
-Obtaining an EntityManager
-Interacting with an EntityManager
-Example: A Persistent Employee Registry

10. Mapping Persistent Objects
-The Programming Model
-Basic Relational Mapping
-Primary Keys
-Property Mappings
-@Embedded Objects

11. Entity Relationships
-The Seven Relationship Types
-Mapping Collection-Based Relationships
-Detached Entities and FetchType
-Cascading

12. Entity Inheritance
-Single Table per Class Hierarchy
-Table per Concrete Class
-Table per Subclass
-Mixing Strategies
-Nonentity Base Classes

13. Queries, the Criteria API, and JPA QL
-Query API
-JPA QL
-Native Queries
-Named Queries

14. Entity Callbacks and Listeners
-Callback Events
-Callbacks on Entity Classes
-Entity Listeners

Part 4: Container Services
15. Security
-Authentication and Identity
-Authorization
-Example: A Secured School

16. JNDI, the ENC, and Injection
-Global JNDI
-The JNDI ENC
-Reference and Injection Types

17. Transactions
-ACID Transactions
-Declarative Transaction Management
-Isolation and Database Locking
-Nontransactional EJBs
-Explicit Transaction Management
-Exceptions and Transactions
-Transactional Stateful Session Beans
-Conversational Persistence Contexts

18. Interceptors
-Intercepting Methods
-Interceptors and Injection
-Intercepting Lifecycle Events
-Exception Handling
-Interceptor Lifecycle
-Bean Class @AroundInvoke Methods

19. Timer Service
-Example: A Batch Credit Card Processing System
-Transactions
-Stateless Session Bean Timers
-Message-Driven Bean Timers

20. EJB 3.1: Web Services Standards
-Web Services Overview
-XML Schema and XML Namespaces
-SOAP 1.1
-WSDL 1.1
-UDDI 2.0
-From Standards to Implementation

21. EJB 3.1 and Web Services
-Accessing Web Services with JAX-RPC
-Defining a Web Service with JAX-RPC
-Using JAX-WS
-Other Annotations and APIs
-JAXB
-Conclusion

Part 5: Examples
Appendix A: FirstEJB Example
Appendix B: Stateless Session EJB: Encryption Example
Appendix C: Stateful Session EJB: FTP Client Example
Appendix D: Singleton Session EJB: RSS Cache Example
Appendix E: Message-Driven EJB: Status Update Listeners Example
Appendix F: Java Persistence APIs: Employee Registry Example
Appendix G: Security: Secured School Example
Appendix H: Transactions: Blackjack Game Example
Appendix I: Interceptors: TV Channel Service Example
Appendix J: Timer Service: Credit Card Processor Example

Index

Rubrieken

Populaire producten

    Personen

      Trefwoorden

        Enterprise JavaBeans 3.1, 6th Edition