Applying Enterprise JavaBeans : Component-Based Development for the J2EE Platform

著者

    • Matena, Vlada
    • Krishnan, Sanjeev
    • DeMichiel, Linda
    • Stearns, Beth

書誌事項

Applying Enterprise JavaBeans : Component-Based Development for the J2EE Platform

Vlada Matena, Beth Stearns

(The Java series)

Addison-Wesley, c2003

2nd ed

大学図書館所蔵 件 / 1

この図書・雑誌をさがす

注記

Includes bibliographical references and index

内容説明・目次

内容説明

The Enterprise JavaBeans (EJB) architecture, part of J2EE, is a technology for developing and managing distributed applications in an enterprise environment. This book, like the first edition, is an advanced programming guide and reference to EJB, written by two architects of the EJB specifications. The second edition has been updated and expanded to cover the latest changes with the EJB 2.1 architecture, including support for Web services, message-driven beans, container-managed relationships, local client views, the EJB Query Language, and timer beans. This new edition details these latest features, complete with comprehensive application examples that show developers how to best put them to use.

目次

Foreword. Preface. Conventions Used in This Book. Graphics. Note about the Example Applications. Contents of the Book. Acknowledgments. 1. Advantages of the Enterprise JavaBeans(tm) Architecture. From a Two-Tier to a J2EE Architecture. Two-Tier 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. Conclusion. 2. Enterprise JavaBeans Architecture Overview. What Are Enterprise JavaBeans Applications? Client View of Enterprise Beans. Business Entities and Processes, and Enterprise Bean Types. Business Entities. Business Processes. Implementation of Business Rules. Enterprise Bean Types. Session Beans and Entity Beans. Choosing Entity Beans or Session Beans. Using Java Classes Instead of Entity Beans. Message-Driven Beans. Structure of Enterprise Beans. Local and Remote Client Views. Enterprise Bean Home Interfaces. Enterprise Bean Component Interface. Enterprise Bean Class. Deployment Descriptor. Container Tools and Services. Container Artifacts. Container Runtime Services. Conclusion. 3. Enterprise JavaBeans Roles. EJB Roles. Bean Developer. Application Assembler. Deployer. System Administrator. EJB Container Provider. EJB Server Provider. Tools. Conclusion. 4. Working with Session Beans. When to Use Session Beans. Using Session Beans in Web Applications. Using Session Beans in Three-Tier Applications. Understanding the State of a Session Object. Stateful versus Stateless Session Beans. Understanding Conversational State. Overview of the Example Application. User View of the Application. Main Parts of the Application. The Benefits Enrollment Business Process. EnrollmentEJB Stateful Session Bean in Detail. EnrollmentEJB Session Bean Parts. EnrollmentBean Session Bean Class Details. Client Developer's Perspective. PayrollEJB Stateless Session Bean. PayrollEJB Stateless Session Bean Parts. Client Developer's Perspective. Database Schemas. EmployeeDatabase Schema. BenefitsDatabase Schema. PayrollDatabase Schema. Container-Provided Benefits. Conclusion. 5. Session Bean in Its Container. Container Artifacts. 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. Conclusion. 6. Enterprise Application Integration Using Message-Driven Beans and Connectors. JMS and Communication Modes. Synchronous and Asynchronous Communication. JMS Overview. Message-Driven Bean Concepts. Implementing a Message-Driven Bean. Message-Driven Beans and Transactions. Message-Driven Bean Usage. Using a Message-Driven Bean in the Benefits Application. PayrollMDB Message-Driven Bean. PayrollEJB Local Interfaces. Using JMS and Connectors for Communication. Using JMS to Communicate With Messaging Systems. Using Connectors to Communicate With EISs. Conclusion. 7. Understanding Entity Beans. Client View of an Entity Bean. Home Interface. Component Interface. Primary Key and Object Identity. Entity Object Life Cycle. Entity Bean Handle. Bean Developer View of an Entity Bean. Container-Managed Persistence. EJB QL Query Language. Bean-Managed Persistence. Entity Bean Class Methods. Entity Bean Instance Life Cycle. Using the ejbLoad and ejbStore Methods. Designing the Entity Bean Component Interface. Concurrent Invocation of an Entity Object. Using Entity Beans with Preexisting Data. Conclusion. 8. Entity Bean Application Example. Application Overview. Problem Description. Main Parts of the Application. Distributed Deployment. Parts Developed by Wombat. Overview of the Wombat Parts. EnrollmentEJB Session Bean. EmployeeEJB Entity Bean. SelectionEJB Entity Bean. PlanEJB Entity Bean. DoctorEJB Entity Bean. EnrollmentWeb Web Application. BenefitsAdminWeb Web Application. BenefitsDatabase. Packaging of Parts. Parts developed at Star Enterprise. EmployeeDatabase and Deployment of EmployeeEJB. EmployeeBeanBMP Entity Bean Class. Payroll System. Conclusion. 9. Using Enterprise JavaBeans in Web Services. Introduction to Web Services. Web Services Technologies. J2EE and Web Services. Developing a Web Service Using Stateless Session Beans. Developing a New Web Service. Exposing A Stateless Session Bean as a Web Service. Stateless Session Bean Web Service Example. InsurancePlanAdminEJB Stateless Session Bean. Developing and Packaging the Web Service. Accessing a Web Service from an Enterprise Bean. Accessing a Web Service Example. Providence Web Service. ProvidencePlanEJB Entity Bean. ProvidenceDoctorEJB Entity Bean. Packaging. Document-Oriented Web Services. Conclusion. 10. Understanding Transactions. Declarative Transaction Demarcation. Transaction Attributes. Transaction Attribute Values. Transaction Attributes for Message Driven Beans. 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. Conclusion. 11. Managing Security. Responsibilities of the System Administrator. Administering Users and Security Principals. Managing Principal Mapping. Responsibilities of the Container Provider. Authentication and Authorization Tasks. Managing Multiple Applications and Domains. Application Provider's View of Security. Client Authentication. Authorization. Declarative Security Mechanism. Security Roles. Method Permissions. Using Run-As Principal. Programmatic Security API. Example Security Application. Deployer's Responsibility. Deploying Wombat's Enterprise Beans. Deploying Star Enterprise's Beans. Conclusion. Appendix A API Reference. EJBObject Interface Methods. EJBLocalObject Interface Methods. EJBHome Interface Methods. EJBLocalHome Interface. EnterpriseBean Interface. EJBContext Interface Methods. EJBMetaData Interface Methods. EntityBean Interface Methods. EntityContext Interface Methods. Handle Interface Methods. HomeHandle Interface Methods. SessionBean Interface Methods. SessionContext Interface Methods. SessionSynchronization Interface Methods. Exception Classes. CreateException Class. DuplicateKeyException Class. EJBException Class. FinderException Class. NoSuchEntityException Class. ObjectNotFoundException Class. RemoveException Class. Appendix B Code Samples. Session Bean Helper Classes. EnrollmentBean Source Code. PayrollEJB Session Bean Class. Entity Application EnrollmentBean Implementation. SelectionBean Implementation. PlanBean Implementation Class. EmployeeBeanBMP Class. PayrollBean Implementation Class Using Connectors. CCI Interface Classes. InsurancePlanAdminBean. ProvidencePlanBean. ProvidenceDoctorBean class. Command Beans. Glossary. Index. 0201914662T05052003

「Nielsen BookData」 より

関連文献: 1件中  1-1を表示

詳細情報

  • NII書誌ID(NCID)
    BA67450426
  • ISBN
    • 0201914662
  • LCCN
    2002026197
  • 出版国コード
    us
  • タイトル言語コード
    eng
  • 本文言語コード
    eng
  • 出版地
    Boston
  • ページ数/冊数
    xxiv, 470 p.
  • 大きさ
    24 cm
  • 親書誌ID
ページトップへ