1. Trang chủ
  2. » Công Nghệ Thông Tin

Addison wesley applying enterprise javabeans 2nd edition may 2003 ISBN 0201914662

781 77 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 781
Dung lượng 4,3 MB

Nội dung

• • Table of Contents Index Applying Enterprise JavaBeans™:ComponentBased Development for the J2EE™ Platform, Second Edition By Vlada Matena, Sanjeev Krishnan, Linda DeMichiel, Beth Stearns Publisher : Addison Wesley Pub Date : May 30, 2003 ISBN : 0-201-91466-2 Pages : 496 Written by the architects of the Enterprise JavaBean (EJB) specification, Applying Enterprise JavaBeans(TM), Second Edition is an advanced programming guide and reference source which has been updated and expanded to reflect updates in the EJB 2.1 specification This book is an invaluable resource for IT personnel building in-house applications and for the independent software vendors (ISVs) building applications for sale to enterprise The authors use example applications to clearly illustrate many of the typical problems encountered in enterprise application development, and to help developers learn to use the newest features of the EJB Applying Enterprise JavaBeans(TM), Second Edition also explores the use of EJB architecture in the construction and accessing of Web services, thus integrating applications across enterprises with interoperable, standards-based protocols and service description formats In-depth coverage includes such EJB topics as: Support for Web services and security management Message-driven beans and integration with Java Messaging Service (JMS) Session beans-including a discussion of the differences between stateful and stateless session beans Entity beans-including life cycle, persistence management, and container management Transaction management EJB Query Language Applying Enterprise JavaBeans(TM), Second Edition discusses when and how each EJB feature should be used in applications and concludes with a comprehensive API reference for developers This book is an essential addition to every Java programmer's bookshelf • • Table of Contents Index Applying Enterprise JavaBeans™:Component-Based Development for the J2EE™ Platform, Second Edition By Vlada Matena, Sanjeev Krishnan, Linda DeMichiel, Beth Stearns Publisher : Addison Wesley Pub Date : May 30, 2003 ISBN : 0-201-91466-2 Pages : 496 Copyright The Java™ Series Foreword Preface Conventions Used in This Book Other Sources of Information Note about the Example Applications Contents of the Book Acknowledgments Chapter 1 Advantages of the Enterprise JavaBeans™ Architecture Section 1.1 From a Two-Tier to a J2EE Architecture Section 1.2 Advantages of the Architecture Section 1.3 Conclusion Chapter 2 Enterprise JavaBeans Architecture Overview Section 2.1 Enterprise JavaBeans Applications Section 2.2 Business Entities and Processes, and Enterprise Bean Types Section 2.3 Structure of Enterprise Beans Section 2.4 Container Tools and Services Section 2.5 Conclusion Chapter 3 Enterprise JavaBeans Roles Section 3.1 EJB Roles Section 3.2 Tools Section 3.3 Conclusion Chapter 4 Working with Session Beans Section 4.1 When to Use Session Beans Section 4.2 Understanding the State of a Session Object Section 4.3 Overview of the Example Application Section 4.4 EnrollmentEJB Stateful Session Bean in Detail Section 4.5 PayrollEJB Stateless Session Bean Section 4.6 Database Schemas Section 4.7 Container-Provided Benefits Section 4.8 Conclusion Chapter 5 Session Bean in Its Container Section 5.1 Container Artifacts Section 5.2 How the Container Manages Session Beans at Runtime Section 5.3 Conclusion Chapter 6 Using Message-Driven Beans and Connectors Section 6.1 JMS and Communication Modes Section 6.2 Message-Driven Bean Concepts Section 6.3 Using a Message-Driven Bean in the Benefits Application Section 6.4 Using JMS and Connectors for Communication Section 6.5 Conclusion Chapter 7 Understanding Entity Beans Section 7.1 Client View of an Entity Bean Section 7.2 Bean Developer View of an Entity Bean Section 7.3 Timer Service Section 7.4 Conclusion Chapter 8 Entity Bean Application Example Section 8.1 Application Overview Section 8.2 Parts Developed by Wombat Section 8.3 Parts Developed at Star Enterprise Section 8.4 Conclusion Chapter 9 Using Enterprise JavaBeans in Web Services Section 9.1 Introduction to Web Services Section 9.2 Developing a Web Service Using Stateless Session Beans Section 9.3 Stateless Session Bean Web Service Example Section 9.4 Accessing a Web Service from an Enterprise Bean Section 9.5 Document-Oriented Web Services Section 9.6 Conclusion Chapter 10 Understanding Transactions Section 10.1 Declarative Transaction Demarcation Section 10.2 Programmatic Transaction Demarcation Section 10.3 Conclusion Chapter 11 Managing Security Section 11.1 Responsibilities of the System Administrator Section 11.2 Responsibilities of the Container Provider Section 11.3 Application Provider's View of Security Section 11.4 Deployer's Responsibility Section 11.5 Conclusion Appendix A Code Samples Section A.1 Session Bean Helper Classes Section A.2 EnrollmentBean Source Code Section A.3 PayrollEJB Session Bean Class Section A.4 Entity Application EnrollmentBean Implementation Section A.5 SelectionBean Implementation Section A.6 PlanBean Implementation Class Section A.7 EmployeeBeanBMP Class Section A.8 PayrollBean Implementation Class Using Connectors Section A.9 CCI Interface Classes Section A.10 session bean:object creation:locate home interface EnrollmentWeb Web application:locate home interface JNDI initial naming context session bean:object handle usage EnrollmentWeb Web application:session object handle usage 2nd session bean:object handle usage:container crash container:object handle session bean:object removal 2nd remove method EnrollmentWeb Web application:session object removal session bean:object removal:inactivity timeout session bean:inactivity timeout session bean:session logic session bean:setSessionContext method setSessionContext method session bean:state state:session object 2nd session bean:stateful session object:creation stateful session object:creation 2nd session bean:stateful session object:definition of stateful session object:definition of session bean:stateful session object:identity stateful session object:identity session bean:stateless session object session bean:stateful session object state:stateless session object;state:stateful session object 2nd session bean:stateless session object:definition of stateless session object:definition of session bean:use in Web applications session bean:use of 2nd session bean:use of versus entity bean entity bean:use of versus session bean SessionBean methods:in stateless session bean stateless session bean:SessionBean methods setEntityContext method setMedicalOption method Simple Object Access Protocol (SOAP): [See SOAP] SOAP SOAP With Attachments API for Java (SAAJ): [See SOAP] Web services:SOAP WSDL:data type binding JAX-RPC:document processing SSL security:in Web services:SSL Secure Sockets Layer (SSL): [See SSL] state management state:activation stateful session object:activation activation:restoring state state:definition of state:entity object:caching ejbLoad method:caching state ejbStore method:caching state;caching state state:passivation stateful session object:passivation passivation:saving state state:persistent state:transient business process:state:persistent;business process:state:transient state:persistent: entity object:bean-managed persistence: [See also bean-managed persistence] entity object:container-managed persistence: [See also container-managed persistence] state:stateless session object:handling stateless session bean:handling state stateless session bean PayrollEJB 2nd Web services Web services:stateless session bean 2nd stateless session bean: [See also PayrollEJB[stateless session bean:aaa]] stateless session bean: [See also InsurancePlanAdminEJB.[stateless session bean:aaa]] stateless session bean:audit trail stateless session bean:business methods PayrollEJB:PayrollBean:business methods business methods:implementation stateless session bean:developing a Web service Web services:stateless session bean:developing new service 2nd stateless session bean:exposing as Web service Web services:stateless session bean:exposing as service 2nd stateless session bean:implementation PayrollEJB:PayrollBean implementation 2nd stateless session bean:implementation class:Web service restrictions stateless session bean:remote interface remote interface:stateless session bean PayrollEJB:remote interface stateless session bean:setSessionContext method setSessionContext method:stateless session bean stateless session bean:Web service example Web services:stateless session bean:example 2nd stateless session object:identity subscriptionDurability Swing component synchronous communication:request/response interaction request/response interaction system administration tools system administrator:principal mapping [ Team LiB ] [ Team LiB ] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [L] [M] [N] [O] [P] [R] [S] [T] [V] [W] [X] thread management synchronization timer service 2nd timer service:creating a timer timer:creating timer service:methods timer:methods 2nd timer service:notification timer:notification timer:identity of tools EJB application environment:tools EJB container provider:tools transaction management 2nd transaction management:EJB container services 2nd transaction:attribute:assignment rules declarative transaction:attribute:assignment rules 2nd transaction:attribute:in example application declarative transaction:attribute:in example application 2nd transaction:attribute:Mandatory declarative transaction:attribute:Mandatory Mandatory transaction attribute transaction:attribute:Never declarative transaction:attribute:Never Never transaction attribute transaction:attribute:NotSupported declarative transaction:attribute:NotSupported NotSupported transaction attribute transaction:attribute:Required declarative transaction:attribute:Required Required transaction attribute transaction:attribute:RequiresNew declarative transaction:attribute:RequiresNew RequiresNew transaction attribute transaction:attribute:Supports declarative transaction:attribute:Supports Supports transaction attribute transaction:attribute:values declarative transaction:attribute:values 2nd transaction:bean-managed demarcation bean-managed transaction demarcation transaction:caching state transaction:ejbLoad method transaction:ejbStore method transaction:container-managed demarcation container-managed transaction demarcation transaction:message-driven beans message-driven beans:transactional capability 2nd transaction:programmatic demarcation:javax.transaction.UserTransaction interface transaction:timer object timer:transaction context [ Team LiB ] [ Team LiB ] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [L] [M] [N] [O] [P] [R] [S] [T] [V] [W] [X] value object:use of [ Team LiB ] [ Team LiB ] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [L] [M] [N] [O] [P] [R] [S] [T] [V] [W] [X] Web application:using session beans Web container Web Container:support for session concept Web service client view Web services message format Web Services Description Language (WSDL): [See WSDL] Web services:accessing from enterprise bean: [Web services:accessing from enterprise bean] [See also ProvidencePlanEJB] Web services:application integration Web services:deployment descriptor deployment:Web services Web services:deployment descriptor:service reference element deployment descriptor:service-ref element Web services:development of Web services:document-oriented access JAX-RPC:document-oriented access to Web service Web services:J2EE platform 2nd Web services:method types Web services:packaging InsurancePlanAdminEJB:packaging ProvidencePlanEJB:packaging Web services:publishing standard UDDI Universal Description, Discovery, and Integration (UDDI): [See UDDI] WSDL WSDL:port type:map to stateless session bean stateless session bean:WSDL port type WSDL:Web service description UDDI Web services:WSDL document [ Team LiB ] [ Team LiB ] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [L] [M] [N] [O] [P] [R] [S] [T] [V] [W] [X] XML Extensible Markup Language (XML): [See XML] XML:document-oriented Web service access JAX-P XML:Web service elements Web services:elements WSDL;Web services:WSDL [ Team LiB ] Brought to You by Like the book? Buy it! ... J2EE™ Platform Inderjeet Singh, Beth Stearns, Mark Johnson, Enterprise Team Designing Enterprise Applications with the Java™ 2 Platform, Enterprise Edition Vlada Matena, Sanjeev Krishnan, Beth Stearns Applying Enterprise JavaBeans 2.1, Second Edition: ComponentBased Development for the J2EE™ Platform Bill Shannon, Mark Hapner,... Joseph Fialli, and Kim Haase (Addison- Wesley, 2001) Designing Enterprise Applications with the J2EE™ Platform, Second Edition by Inderjeet Singh, Beth Stearns, Mark Johnson, and Enterprise Team (Addison- Wesley, 2002)... Index Applying Enterprise JavaBeans :Component-Based Development for the J2EE™ Platform, Second Edition By Vlada Matena, Sanjeev Krishnan, Linda DeMichiel, Beth Stearns Publisher : Addison Wesley

Ngày đăng: 26/03/2019, 17:06

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN