Applying Enterprise JavaBeans: Component-Based Development for the J2EE
Vlada Matena, Beth Stearns
- 出版商: Addison Wesley
- 出版日期: 2000-12-27
- 定價: $980
- 售價: 5.0 折 $490
- 語言: 英文
- 頁數: 436
- 裝訂: Paperback
- ISBN: 0201702673
- ISBN-13: 9780201702675
-
相關分類:
Java 程式語言
立即出貨(限量)
買這商品的人也買了...
-
$680$537 -
$399Designing Enterprise Applications with the Java 2 Platform, Enterprise Edition (Paperback)
-
$980$774 -
$480$379 -
$880$695 -
$620$558 -
$650$553 -
$590$466 -
$690$538 -
$650$553 -
$720$569 -
$290$261 -
$149$149 -
$620$490 -
$750$675 -
$490$382 -
$690$538 -
$720$569 -
$620$558 -
$560$504 -
$780$663 -
$450$356 -
$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.
Traditional Three-Tier Application Architecture.
Early Web-Based Application Architecture.
J2EE Application Architecture.
Advantages of the Enterprise JavaBeans Architecture.
Benefits to Customers.
2. Enterprise JavaBeans Architecture Overview.
Business Entities and Processes and Enterprise Bean Types.
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 Remote Interface.
Enterprise Bean Class.
Deployment Descriptor.
Container Tools and Services.
Container Runtime Services.
3. Enterprise JavaBeans Roles.
Application Assembler.
Deployer.
System Administrator.
EJB Container Provider.
EJB Server Provider.
Tools.
4. Working with Session Beans.
Using Session Beans in Traditional Three-Tier Applications.
Understanding the State of a Session Object.
Understanding Conversational State.
Overview of the Example Application.
Main Parts of the Application.
The “Benefits Enrollment” Business Process.
Enrollment EJB Stateful Session Bean in Detail.
Enrollment Bean Session Bean Class Details.
Client Developer's Perspective.
Payroll EJB Stateless Session Bean.
Client Developer's Perspective.
Database Schemas.
Benefits Database Schema.
Payroll Database Schema.
Container-Provided Benefits.
5. Session Bean in its Container.
How the Container Manages Session Beans at Runtime.
Session Object Creation.
Business Method Invocation.
Session Bean Passivation and Activation.
Session Object Removal.
Session Bean Timeout.
6. Understanding Entity Beans.
Remote Interface.
Primary Key and Object Identity.
Entity Object Life Cycle.
Entity Bean Handle.
Bean Developer View of an Entity Bean.
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.
Main Parts of the Application.
Distributed Deployment.
Pre-existing Parts at Star Enterprise.
Payroll System.
Parts Developed by Wombat.
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.
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.
Providence Plan EJB EntityBean.
Providence Service Web Web Application.
Packaging.
Summary of the Integration Techniques.
Client Provider Publishes EJB Client-View Interfaces.
Use of Container-managed Persistence.
8. Understanding Transactions.
Transaction Attribute Values.
Transaction Attributes for Sample Application.
Programmatic Transaction Demarcation.
Transaction Demarcation by a Session Bean.
Pitfalls of Using Programmatic Transaction Demarcation.
9. Managing Security.
Managing Principal Mapping.
Responsibilities of the Container Provider.
Managing Multiple Applications and Domains.
Application Provider's View of Security.
Authorization.
Declarative Security Mechanism.
Security Roles.
Method Permissions.
Programmatic Security API.
Example Application Security.
Deployer's Responsibility.
Deploying Premium Health's Enterprise Bean.
Deploying Providence's Enterprise Bean.
Appendix A: API Reference.
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.
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.
Data Access Command Beans.
Glossary.
Index. 0201702673T04062001
商品描述(中文翻譯)
描述
這本權威、高級、深入的EJB應用覆蓋範圍廣泛!利用EJB的全部功能,將開發時間減半!組件開發是重點,電子商務開發人員正在轉向Java和EJB,而不是CORBA和COM!主要作者Vlada Matena是Sun的EJB首席架構師!在這本權威的書中,Sun的企業JavaBeans架構師展示了如何利用EJB的全部功能,更快、更有效地部署基於組件的企業系統。首先要了解EJB的架構及其與Sun Microsystems豐富的Java 2 Enterprise Edition平台的相互關係,以進行大規模業務開發。比較每個實施EJB的架構選項,並了解何時使用每個選項;檢查企業JavaBean的每個元素;然後掌握容器工具和服務、EJB角色、會話Bean、實體Bean、事務、安全性等。本書包含大量的示例代碼、完整的應用示例和完整的API參考。它將成為實施企業JavaBeans應用程序的所有人的理想資源:內部企業開發人員、創建EJB應用程序和可重用組件的第三方開發人員;Java開發人員;架構師、經理和其他IT專業人員。Vlada Matena是公認的EJB權威,是Sun的企業JavaBeans規範的首席架構師,也是Sun的JTS和JTA Java事務規範的架構師。他是Sun Microsystems的Java軟件部門的杰出工程師,負責J2EE架構團隊的工作。Matena是《Java 2平台,企業版》(0-201-70456-0)的合著者。Beth Stearns是Sun的Java軟件部門的技術作家。
適合的課程
Java-中級編程。
目錄
(注意:每章結尾都有結論。)
前言。
前言。
1. 企業JavaBeans架構的優勢。
從兩層到J2EE架構。
兩層應用程序架構。
傳統的三層應用程序架構。
早期基於Web的應用程序架構。
J2EE應用程序架構。
企業JavaBeans架構的優勢。
對應用程序開發人員的好處。
對客戶的好處。
2. 企業JavaBeans架構概述。
什麼是企業JavaBeans應用程序?
業務實體和流程和企業Bean類型。
業務實體。
業務流程。
業務規則的實現。
企業Bean類型。
選擇實體Bean還是會話Bean。
何時使用相依對象。
企業Bean的結構。
企業Bean主界面。
企業Bean遠程界面。
企業Bean類。
部署描述符。
容器工具和服務。
容器工件。
容器運行時服務。
3. 企業JavaBeans角色。
EJB角色。
豆子開發