Nur noch 2 verfügbar!
Versandbereit in 1-2 Werktagen
zzgl.
Nur noch 2 verfügbar!
Versandbereit in 1-2 Werktagen
zzgl.
Handgeprüfte Gebrauchtware
Bis zu 50 % günstiger als neu
Der Umwelt zuliebe
Technische Daten
Erscheinungsdatum
19.05.2006
Sprache
Englisch
EAN
9780596009786
Herausgeber
O'Reilly and Associates
Sonderedition
Nein
Autor
Richard Monson-Haefel & Bill Burke
Seitenanzahl
760
Auflage
1
Einbandart
Broschiert
Schlagwörter
java, j2ee, ejb, spring, hibernate
Inhaltsverzeichnis
Inhaltsverzeichnis
Foreword
Preface
Part I. The EJB 3.0 Standard
1. Introduction
Server-Side Components
Persistence and Entity Beans
Asynchronous Messaging
Web Services
Titan Cruises: An Imaginary Business
What's Next?
2. Architectural Overview
The Entity Bean
The Enterprise Bean Component
Using Enterprise and Entity Beans
The Bean-Container Contract
Summary
3. Resource Management and Primary Services
Resource Management
Primary Services
What's Next?
4. Developing Your First Beans
Developing an Entity Bean
Developing a Session Bean
5. Persistence: EntityManager
Entities Are POJOs
Managed Versus Unmanaged Entities
Packaging a Persistence Unit
Obtaining an EntityManager
Interacting with an EntityManager
Resource Local Transactions
6. Mapping Persistent Objects
The Programming Model
Basic Relational Mapping
Primary Keys
Property Mappings
Multitable Mappings with @SecondaryTable
@Embedded Objects
7. Entity Relationships
The Seven Relationship Types
Mapping Collection-Based Relationships
Detached Entities and FetchType
Cascading
8. Entity Inheritance
Single Table per Class Hierarchy
Table per Concrete Class
Table per Subclass
Mixing Strategies
Nonentity Base Classes
9. Queries and EJB QL
Query API
EJB QL
Native Queries
Named Queries
10. Entity Callbacks and Listeners
Callback Events
Callbacks on Entity Classes
Entity Listeners
11. Session Beans
The Stateless Session Bean
SessionContext
The Life Cycle of a Stateless Session Bean
The Stateful Session Bean
The Life Cycle of a Stateful Session Bean
Stateful Session Beans and Extended Persistence Contexts
Nested Stateful Session Beans
12. Message-Driven Beans
JMS and Message-Driven Beans
JMS-Based Message-Driven Beans
The Life Cycle of a Message-Driven Bean
Connector-Based Message-Driven Beans
Message Linking
13. Timer Service
Titan's Maintenance Timer
Timer Service API
Transactions
Stateless Session Bean Timers
Message-Driven Bean Timers
Final Words
14. The JNDI ENC and Injection
The JNDI ENC
Reference and Injection Types
15. Interceptors
Intercepting Methods
Interceptors and Injection
Intercepting Life Cycle Events
Exception Handling
Interceptor Life Cycle
Bean Class @AroundInvoke Methods
Future Interceptor Improvements
16. 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
17. Security
Authentication and Identity
Authorization
The RunAs Security Identity
Programmatic Security
18. EJB 3.0: Web Services Standards
Web Services Overview
XML Schema and XML Namespaces
SOAP 1.1
WSDL 1.1
UDDI 2.0
From Standards to Implementation
19. EJB 3.0 and Web Services
Accessing Web Services with JAX-RPC
Defining a Web Service with JAX-RPC
Using JAX-WS
Other Annotations and APIs
20. Java EE
Servlets
JavaServer Pages
Web Components and EJB
Filling in the Gaps
Fitting the Pieces Together
21. EJB Design in the Real World
Predesign: Containers and Databases
Design
Should You Use EJBs?
Wrapping Up
Part II. The JBoss Workbook
Introduction
1. JBoss Installation and Configuration
About JBoss
Installing the JBoss Application Server
A Quick Look at JBoss Internals
Exercise Code Setup and Configuration
2. Exercises for Chapter 4
Exercise 4.1: Your First Beans with JBoss
Exercise 4.2: JNDI Binding with Annotations
Exercise 4.3: JNDI Binding with XML
3. Exercises for Chapter 5
Exercise 5.1: Interacting with EntityManager
Exercise 5.2: Standalone Persistence
4. Exercises for Chapter 6
Exercise 6.1: Basic Property Mappings
Exercise 6.2: @IdClass
Exercise 6.3: @EmbeddedId
Exercise 6.4: Multitable Mappings
Exercise 6.5: Embeddable Classes
5. Exercises for Chapter 7
Exercise 7.1: Cascading
Exercise 7.2: Inverse Relationships
Exercise 7.3: Lazy Initialization
6. Exercises for Chapter 8
Exercise 8.1: Single Table per Hierarchy
Exercise 8.2: Single Table per Hierarchy
Exercise 8.3: JOINED Inheritance Strategy
7. Exercises for Chapter 9
Exercise 9.1: Query and EJB QL Basics
Exercise 9.2: Native SQL Queries
8. Exercises for Chapter 10
Exercise 10.1: Entity Callbacks
Exercise 10.2: Entity Listeners
9. Exercises for Chapter 11
Exercise 11.1: Stateless Session Bean
Exercise 11.2: XML Override
Exercise 11.3: Annotationless Stateless Session Bean
Exercise 11.4: Stateful Session Bean
Exercise 11.5: Annotationless Stateful Session Bean
10. Exercises for Chapter 12
Exercise 12.1: The Message-Driven Bean
11. Exercises for Chapter 13
Exercise 13.1: EJB Timer Service
12. Exercises for Chapter 15
Exercise 15.1: EJB Interceptors
Exercise 15.2: Intercepting EJB Callbacks
13. Exercises for Chapter 16
Exercise 16.1: Conversational Persistence Contexts
14. Exercises for Chapter 17
Exercise 17.1: Security
Exercise 17.2: Securing Through XML
15. Exercises for Chapter 19
Exercise 19.1: Exposing a Stateless Bean
Exercise 19.2: Using a.NET Client
Part III. Appendix
Appendix:. JBoss Database Configuration
Index
Wenn du eine Bewertung für dieses Produkt schreibst, hilfst du allen Kund:innen, die noch überlegen, ob sie das Produkt kaufen wollen. Vielen Dank, dass du mitmachst!