|
" EJB 3 developer guide "
Michael Sikora.
Document Type
|
:
|
BL
|
Record Number
|
:
|
799681
|
Doc. No
|
:
|
b619740
|
Main Entry
|
:
|
Michael Sikora.
|
Title & Author
|
:
|
EJB 3 developer guide\ Michael Sikora.
|
Publication Statement
|
:
|
Packt Pub., Birmingham, 2008. ;
|
Page. NO
|
:
|
(276 pages)
|
ISBN
|
:
|
128138643X
|
|
:
|
: 1847195601
|
|
:
|
: 184719561X
|
|
:
|
: 9781281386434
|
|
:
|
: 9781847195609
|
|
:
|
: 9781847195616
|
Contents
|
:
|
EJB 3 Developer Guide; EJB 3 Developer Guide; Credits; About the Author; About the Reviewers; Preface; What This Book Covers; What You Need for This Book; Who Is This Book For; Approach of this Book; Conventions; Reader Feedback; Customer Support; Downloading the Example Code for the Book; Errata; Questions; 1. Introduction to the EJB 3 Architecture; Introduction to the Java EE Architecture; The EJB 3 Architecture; EJB Container Services; The JPA Persistence Engine; EJB 3 Compared with Earlier Versions; Getting Started; Installing GlassFish; Testing the Installation. Accessing the Administrator ConsoleShutting Down GlassFish; Downloading Example Source Code; Summary; 2. Session Beans; Introduction; Stateless Session Beans; Annotations; Creating a Session Bean Client; Running the Example; The Program Directory Structure; The Ant Build Script; The Application Client Container; Building the Application; Stateless Session Bean's LifeCycle; Stateful Session Beans; Stateful Session Bean's LifeCycle; Local Interfaces; Summary; 3. Entities; Introduction; EJB 3 Entities; Comparison with EJB 2.x Entity Beans; Mapping an Entity to a Database Table. Introducing the EntityManagerPackaging and Deploying Entities; The Program Directory Structure; Building the Application; Field-Based Annotations; Generating Primary Keys; Table Strategy; Sequence Strategy; Identity Strategy; Auto Strategy; Overriding Metadata Defaults; Summary; 4. Object/Relational Mapping; O/R Mapping Default Behavior; A Banking Example Application; Customer Entity; Account Entity; Address Entity; Referee Entity; Testing the Application; O/R Mapping Overriding Defaults; Customer Entity; Account Entity; Address Entity; BankServiceBean; O/R Mapping Additional Annotations. Referee ClassBankServiceBean; Composite Primary Keys; O/R Inheritance Mapping; SINGLE_TABLE Strategy; JOINED Strategy; Table per Concrete Class Strategy; Summary; 5. The Java Persistence Query Language; Introduction; Simple Queries; Projection; Conditional Expressions; Aggregate Functions; GROUP BY; HAVING; Queries with Relationships; Joins; Inner Joins; Outer Joins; Fetch Joins; Collection Comparison Expressions; Constructor Expressions; SubQueries; Functions; CONCAT; SUBSTRING; TRIM; LOWER and UPPER; LENGTH; LOCATE; ABS; SQRT; MOD; SIZE; Queries with Parameters; Positional Parameters. Named ParametersNamed Queries; Handling Date and Time; @Temporal annotation; Queries with Date Parameters; Datetime Functions; Bulk Update and Delete; Native SQL; Summary; 6. Entity Manager; Application-managed Entity Manager; Entity Manager Merge; Entity Manager Methods; remove(); contains(); flush(); setFlushMode(); refresh(); clear(); Cascade Operations; persist; remove; merge; refresh; all; Extended Persistence Context; Entity LifeCycle Callback Methods; Entity Listeners; Summary; 7. Transactions; Introduction; Container-Managed Transaction Demarcation; SUPPORTS; NOT_SUPPORTED; REQUIRED.
|
Abstract
|
:
|
Annotation<p>The EJB 3 (Enterprise Java Beans version 3) specification is a core component of enterprise-level JEE (Java Platform Enterprise Edition) implementations and this improved version is set to simplify the development of Enterprise Java applications. This book covers the core elements of EJB 3 technology, exploring them in a concise manner with many supporting examples. You will gain a thorough understanding of EJB 3 technology and learn about the most important features of EJB 3 quickly. What you will learn from this book This book will teach you the core elements of EJB 3 technology. You will: . Gain a rapid introduction to the EJB 3 essentials while learning about the underlying principles . Create Entities, Message-Driven Beans, Session Beans and their clients . Look at running an EJB client from an application client container . Learn how to package and deploy an EJB . Use JQPL (Java Persistence Query Language) . Explore the entity manager interface . Learn about object/relational mapping with EJB 3 . Look at the Java Messaging API and message-driven beans . Look at transactions, interceptors, and EJB timer services . Understand how EJB 3 differs from the 2.x version .Implement EJB 3's security features Approach This book is a fast-paced tutorial that explores the key features of EJB 3 with many accompanying examples. This book is not a complete reference guide, but a concise exploration of EJB 3's core elements.<br /><br />
|
Subject
|
:
|
JavaBeans.
|
LC Classification
|
:
|
QA76.73.J38M534 2008
|
Added Entry
|
:
|
Michael Sikora
|
| |