Beginning EJB 3 [electronic resource] : Java EE 7 Edition /
Wetherbee, Jonathan.author.
Kodali, Raghu.author.
Rathod, Chirag.author.
Zadrozny, Peter.author.
Develop powerful, standards-based, back-end business logic with Beginning EJB 3, Java EE 7 Edition. Led by an author team with 20 years of combined Enterprise JavaBeans experience, you'll learn how to use the new EJB 3.2 APIs. You'll gain the knowledge and skills you'll need to create the complex enterprise applications that run today's transactions and more. Targeted at Java and Java EE developers, with and without prior EJB experience, Beginning EJB 3 is packed with practical insights, strategy tips, and code examples. As each chapter unfolds, you'll not only explore a new area of the spec; you'll also see how you can apply it to your own applications through specific examples. Beginning EJB 3 will serve not only as a reference, but it will also function as a how-to guide and repository of practical examples to which you can refer as you build your own applications. It will help you harness the power of EJBs and take your Java EE 7 development to the next level.
Cover; Title Page; Copyright Page; Dedication Page; Contents at a Glance; Table of Contents; About the Authors; About the Technical Reviewer; Preface; Acknowledgments; CHAPTER 1 Introduction to the EJB Architecture; An Introduction to EJB; What Is EJB?; The EJB Component Model; The EJB Container; Core Features of the EJB Development Model; Declarative Metadata; Configuration by Exception; Scalability; Location Transparency; Transactionality; Multiuser Security; Portability; Reusability; Persistence; Progression of the EJB Spec; EJB 1.0; EJB 1.1; EJB 2.0; EJB 2.1; EJB 3.0; EJB 3.1; EJB 3.2
EJB 3 Simplified Development ModelXML and Annotations; Dependency Injection; Interceptors: Callback Methods; POJO Implementation; Intelligent Use of Defaults; Distributed Computing Model; EJB Roles; The Enterprise Bean Provider; The Application Assembler; The Deployer; How This Book Is Organized; Chapter 1: Introduction to the EJB 3 Architecture; Chapter 2: EJB Session Beans; Chapter 3: Entities and the Java Persistence API; Chapter 4: Advanced Persistence Features; Chapter 5: EJB Message-Driven Beans; Chapter 6: EJB and Web Services
Chapter 7: Integrating Session Beans, Entities, Message-Driven Beans, and Web ServicesChapter 8: Transaction Support in EJB; Chapter 9: EJB Performance and Testing; Chapter 10: Contexts and Dependency Injection; Chapter 11: EJB Packaging and Deployment; Chapter 12: EJB Client Applications; Chapter 13: Testing in an Embeddable EJB Container; Getting Started; Downloading the NetBeans IDE; Installing NetBeans IDE and Its Integrated GlassFish Server; Testing the NetBeans IDE and GlassFish Installation; Starting NetBeans IDE; Testing Using Sample Project
Administrating the GlassFish Application ServerTroubleshooting; "No Compatible JDK was found" warning during installation; Diagnosis; Solution; Unable to see GlassFish server's test page; Diagnosis; Solution; Unable to resolve "localhost" hostname; Diagnosis; Solution; Browser is unable to connect to "8080" port; Diagnosis; Solution; Errors while compiling or executing sample application projects; Diagnosis; Solution; Unable to send or receive the "wine order" mail; Diagnosis; Solution; Conclusion; CHAPTER 2 EJB Session Beans; Introduction to Session Beans; Types of Session Beans
When Do You Use Session Beans?3-Tier Architecture with Rich Client; 3-Tier Architecture for a Web Application; Stateless Session Beans; The Bean Class; The Business Interface; Business Methods; Asynchronous Business Methods; Dependency Injection; Lifecycle Callback Methods; Interceptors; Stateful Session Beans; The Bean Class; The Business Interface; Business Methods; Lifecycle Callback Methods; Interceptors; Exception Handling; Singleton Session Beans; The Bean Class; The Business Interface; Business Methods; Lifecycle Callback Methods; Concurrency Management; Container-Managed Concurrency
Bean-Managed Concurrency
Includes index.
Develop powerful, standards-based, back-end business logic with Beginning EJB 3, Java EE 7 Edition. Led by an author team with 20 years of combined Enterprise JavaBeans experience, you'll learn how to use the new EJB 3.2 APIs. You'll gain the knowledge and skills you'll need to create the complex enterprise applications that run today's transactions and more. Targeted at Java and Java EE developers, with and without prior EJB experience, Beginning EJB 3 is packed with practical insights, strategy tips, and code examples. As each chapter unfolds, you'll not only explore a new area of the spec; you'll also see how you can apply it to your own applications through specific examples. Beginning EJB 3 will serve not only as a reference, but it will also function as a how-to guide and repository of practical examples to which you can refer as you build your own applications. It will help you harness the power of EJBs and take your Java EE 7 development to the next level.
JavaBeans.
Java (Computer program language).
Software engineering.
Java.
Software Engineering/Programming and Operating Systems.