Applying Enterprise JavaBeans: Component-Based Development for the J2EE
Vlada Matena, Beth Stearns
- 出版商: Addison Wesley
- 出版日期: 2000-12-27
- 定價: $980
- 售價: 3.1 折 $299
- 語言: 英文
- 頁數: 436
- 裝訂: Paperback
- ISBN: 0201702673
- ISBN-13: 9780201702675
-
相關分類:
Java 程式語言
立即出貨(限量)
買這商品的人也買了...
-
$680$578 -
$299Designing Enterprise Applications with the Java 2 Platform, Enterprise Editi
-
$980$833 -
$480$408 -
$880$695 -
$620$527 -
$650$553 -
$590$466 -
$690$538 -
$650$553 -
$720$612 -
$290$247 -
$149$149 -
$620$490 -
$750$638 -
$490$382 -
$690$538 -
$720$569 -
$620$527 -
$560$476 -
$780$663 -
$450$383 -
$390$304 -
$480$379 -
$620$527
商品描述
Description
The authoritative, advanced, in-depth coverage of EJB applications!
- Leverage the full power of EJBs. Cut development time in half!
- Component development is where it's at; instead of CORBA and COM, e-business developers are turning to Java and EJB!
- Lead author Vlada Matena is Sun's EJB chief architect!
Vlada Matena a recognized EJB authority, is Chief Architect of Sun's Enterprise JavaBeans specification, and an architect of Sun's JTS and JTA Java transaction specifications. He is a Distinguished Engineer with the Java Software division of Sun Microsystems where he works on the J2EE architecture team. Matena is co-author of Java™ 2 Platform, Enterprise Edition (0-201-70456-0). Beth Stearns is a technical writer in Sun's Java software division.
Java--Intermediate Programming.
Table Of Contents
(NOTE: Each chapter concludes with a Conclusion.)
Foreword.
Preface.
1. Advantages of the Enterprise JavaBeans Architecture.
From a Two-Tier to J2EE Architecture.
Advantages of the Enterprise JavaBeans Architecture.
Two-Tier Application Architecture.
Traditional Three-Tier Application Architecture.
Early Web-Based Application Architecture.
J2EE Application Architecture.
Traditional Three-Tier Application Architecture.
Early Web-Based Application Architecture.
J2EE Application Architecture.
Advantages of the Enterprise JavaBeans Architecture.
Benefits to the Application Developer.
Benefits to Customers.
Benefits to Customers.
2. Enterprise JavaBeans Architecture Overview.
What Are Enterprise JavaBeans Applications?
Business Entities and Processes and Enterprise Bean Types.
Structure of Enterprise Beans.
Container Tools and Services.
Business Entities and Processes and Enterprise Bean Types.
Business Entities.
Business Processes.
Implementation of Business Rules.
Enterprise Bean Types.
Choosing Entity Beans or Session Beans.
When to Use Dependent Objects.
Business Processes.
Implementation of Business Rules.
Enterprise Bean Types.
Choosing Entity Beans or Session Beans.
When to Use Dependent Objects.
Structure of Enterprise Beans.
Enterprise Bean Home Interface.
Enterprise Bean Remote Interface.
Enterprise Bean Class.
Deployment Descriptor.
Enterprise Bean Remote Interface.
Enterprise Bean Class.
Deployment Descriptor.
Container Tools and Services.
Container Artifacts.
Container Runtime Services.
Container Runtime Services.
3. Enterprise JavaBeans Roles.
EJB Roles.
Tools.
Bean Developer.
Application Assembler.
Deployer.
System Administrator.
EJB Container Provider.
EJB Server Provider.
Application Assembler.
Deployer.
System Administrator.
EJB Container Provider.
EJB Server Provider.
Tools.
4. Working with Session Beans.
When to Use Session Beans?
Understanding the State of a Session Object.
Overview of the Example Application.
Enrollment EJB Stateful Session Bean in Detail.
Payroll EJB Stateless Session Bean.
Database Schemas.
Container-Provided Benefits.
Using Session Beans in Web Applications.
Using Session Beans in Traditional Three-Tier Applications.
Using Session Beans in Traditional Three-Tier Applications.
Understanding the State of a Session Object.
Stateful versus Stateless Session Beans.
Understanding Conversational State.
Understanding Conversational State.
Overview of the Example Application.
User View of the Application.
Main Parts of the Application.
The “Benefits Enrollment” Business Process.
Main Parts of the Application.
The “Benefits Enrollment” Business Process.
Enrollment EJB Stateful Session Bean in Detail.
Enrollment EJB Session Bean Parts.
Enrollment Bean Session Bean Class Details.
Client Developer's Perspective.
Enrollment Bean Session Bean Class Details.
Client Developer's Perspective.
Payroll EJB Stateless Session Bean.
Payroll EJB Stateless Session Bean Parts.
Client Developer's Perspective.
Client Developer's Perspective.
Database Schemas.
Employee Database Schema.
Benefits Database Schema.
Payroll Database Schema.
Benefits Database Schema.
Payroll Database Schema.
Container-Provided Benefits.
5. Session Bean in its Container.
Container Artifacts.
How the Container Manages Session Beans at Runtime.
How the Container Manages Session Beans at Runtime.
EJB Home Interface Lookup.
Session Object Creation.
Business Method Invocation.
Session Bean Passivation and Activation.
Session Object Removal.
Session Bean Timeout.
Session Object Creation.
Business Method Invocation.
Session Bean Passivation and Activation.
Session Object Removal.
Session Bean Timeout.
6. Understanding Entity Beans.
Client View of an Entity Bean.
Bean Developer View of an Entity Bean.
Home Interface.
Remote Interface.
Primary Key and Object Identity.
Entity Object Life Cycle.
Entity Bean Handle.
Remote Interface.
Primary Key and Object Identity.
Entity Object Life Cycle.
Entity Bean Handle.
Bean Developer View of an Entity Bean.
Entity Object Persistence.
Entity Bean Class Methods.
Entity Bean Instance Life Cycle.
Using the ejbLoad and ejbStore Methods.
Designing the Entity Bean Remote Interface.
Concurrent Invocation of an Entity Object.
Using Entity Beans with Pre-Existing Data.
Entity Bean Class Methods.
Entity Bean Instance Life Cycle.
Using the ejbLoad and ejbStore Methods.
Designing the Entity Bean Remote Interface.
Concurrent Invocation of an Entity Object.
Using Entity Beans with Pre-Existing Data.
7. Entity Bean Application Example.
Application Overview.
Pre-existing Parts at Star Enterprise.
Parts Developed by Wombat.
Parts Developed by Premium Health.
Parts Developed by Providence.
Summary of the Integration Techniques.
Problem Description.
Main Parts of the Application.
Distributed Deployment.
Main Parts of the Application.
Distributed Deployment.
Pre-existing Parts at Star Enterprise.
EmployeeDatabase.
Payroll System.
Payroll System.
Parts Developed by Wombat.
Overview of the Wombat Parts.
EnrollmentEJB Session Bean.
Employee EJB Entity Bean.
Selection EJB Entity Bean.
Wrapper Plan EJB Entity Bean.
Enrollment Web Web Application.
Benefits Admin Web Web Application.
Benefits Database.
Packaging of Parts.
EnrollmentEJB Session Bean.
Employee EJB Entity Bean.
Selection EJB Entity Bean.
Wrapper Plan EJB Entity Bean.
Enrollment Web Web Application.
Benefits Admin Web Web Application.
Benefits Database.
Packaging of Parts.
Parts Developed by Premium Health.
Overview.
Premium Health Plan EJB EntityBean.
Helper EJB Session Bean.
Premium Health Admin Web Web Application.
Premium Health AdminApp.
Premium Health Database.
Packaging.
Premium Health Plan EJB EntityBean.
Helper EJB Session Bean.
Premium Health Admin Web Web Application.
Premium Health AdminApp.
Premium Health Database.
Packaging.
Parts Developed by Providence.
Overview.
Providence Plan EJB EntityBean.
Providence Service Web Web Application.
Packaging.
Providence Plan EJB EntityBean.
Providence Service Web Web Application.
Packaging.
Summary of the Integration Techniques.
Bean Provider Publishes EJB Client-View Interfaces.
Client Provider Publishes EJB Client-View Interfaces.
Use of Container-managed Persistence.
Client Provider Publishes EJB Client-View Interfaces.
Use of Container-managed Persistence.
8. Understanding Transactions.
Declarative Transaction Demarcation.
Programmatic Transaction Demarcation.
Transaction Attributes.
Transaction Attribute Values.
Transaction Attributes for Sample Application.
Transaction Attribute Values.
Transaction Attributes for Sample Application.
Programmatic Transaction Demarcation.
Transaction Demarcated by a Client.
Transaction Demarcation by a Session Bean.
Pitfalls of Using Programmatic Transaction Demarcation.
Transaction Demarcation by a Session Bean.
Pitfalls of Using Programmatic Transaction Demarcation.
9. Managing Security.
Responsibilities of the System Administrator.
Responsibilities of the Container Provider.
Application Provider's View of Security.
Deployer's Responsibility.
Administering Users and Security Principals.
Managing Principal Mapping.
Managing Principal Mapping.
Responsibilities of the Container Provider.
Authentication and Authorization Tasks.
Managing Multiple Applications and Domains.
Managing Multiple Applications and Domains.
Application Provider's View of Security.
Client Authentication.
Authorization.
Declarative Security Mechanism.
Security Roles.
Method Permissions.
Programmatic Security API.
Example Application Security.
Authorization.
Declarative Security Mechanism.
Security Roles.
Method Permissions.
Programmatic Security API.
Example Application Security.
Deployer's Responsibility.
Deploying Wombat's Enterprise Beans.
Deploying Premium Health's Enterprise Bean.
Deploying Providence's Enterprise Bean.
Deploying Premium Health's Enterprise Bean.
Deploying Providence's Enterprise Bean.
Appendix A: API Reference.
EJB Object Interface Methods.
EJB Home Interface Methods.
Enterprise Bean Interface.
EJB Context Interface Methods.
EJB Meta Data Interface Methods.
Entity Bean Interface Methods.
Entity Context Interface Methods.
Handle Interface Methods.
Home Handle Interface Methods.
Session Bean Interface Methods.
Session Context Interface Methods.
Session Synchronization Interface Methods.
Exception Classes.
EJB Home Interface Methods.
Enterprise Bean Interface.
EJB Context Interface Methods.
EJB Meta Data Interface Methods.
Entity Bean Interface Methods.
Entity Context Interface Methods.
Handle Interface Methods.
Home Handle Interface Methods.
Session Bean Interface Methods.
Session Context Interface Methods.
Session Synchronization Interface Methods.
Exception Classes.
Create Exception Class.
Duplicate Key Exception Class.
EJB Exception Class.
Finder Exception Class.
No Such Entity Exception Class.
Object Not Found Exception Class.
Remove Exception Class.
Duplicate Key Exception Class.
EJB Exception Class.
Finder Exception Class.
No Such Entity Exception Class.
Object Not Found Exception Class.
Remove Exception Class.
Appendix B: Code Samples.
CCI Interface Classes.
Data Access Command Beans.
Data Access Command Beans.
Glossary.
Index. 0201702673T04062001
