Rights Contact Login For More Details
- Wiley
More About This Title Mastering Enterprise JavaBeans 3.0
- English
English
Featuring myriad changes from its previous versions, EJB 3.0 boasts a very different programming and deployment model, with nearly every aspect of development affected. Even the most experienced EBJ and J2EE developers will need to relearn how to best use EJB to develop mission-critical applications. This author team of experts has taken their combined skills in architecture, development, consulting, and knowledge transfer to explain the various changes to EJB 3.0 as well as the rationale behind these changes. You'll learn the concepts and techniques for authoring distributed, enterprise components in Java from the ground up.
Covering basic through advanced subjects, Mastering Enterprise JavaBeans 3.0 is more than 50 percent new and revised. Four new chapters and one new appendix cover the latest features of this new release, and in-depth coverage of the Java Persistence API and the entities defined therein is provided. The authors' main goal is to get you programming with EJB immediately. To that end, you'll learn:
* How to implement EJB 3.0 beans, with emphasis on session beans (stateful and stateless) and message-driven beans
* Both basic and advanced concepts (such as inheritance, relationships, and so on) of Java Persistence API defined entities
* How to develop and deploy EJB 3.0 Web services
* How to secure EJB applications
* How to integrate EJB applications with the outside world via the Java EE Connector technology
* Tips and techniques for designing and deploying EJB for better performance
* How clustering in large-scale EJB systems works
* Best practices for EJB application design, development, and testing
The companion Web site provides all the source code, updates to the source code examples, and a PDF version of the book.
Wiley Technology Publishing Timely. Practical. Reliable.
Visit the companion Web site at www.wiley.com/go/sriganesh
- English
English
Gerald Brose works for Projektron, a German vendor for project management software. He maintains the Open Source ORB JacORB. Gerald holds a Ph.D. in computer science and has published widely on Java, CORBA, and security.
Micah Silverman, a Software Architect for 15 years, has specialized in Java since 1995. He founded M*Power Internet Services, Inc., providing architect, development, and security services. He has contributed to books and published numerous articles.
- English
English
Acknowledgments.
Introduction.
Part I Overview.
Chapter 1 Overview.
A Prelude to Enterprise JavaBeans.
Infrastructure Needs of Distributed Applications.
Enterprise JavaBeans Technology.
Service-Oriented Architectures and Enterprise JavaBeans.
Divide and Conquer to the Extreme with Reusable Services.
The Java Platform, Enterprise Edition 5.0 (Java EE).
Summary.
Chapter 2 Pre-EJB 3.0: The World That Was.
What Constituted a Pre-EJB 3.0 Enterprise Bean?
Developing and Deploying a Pre-EJB 3.0 Enterprise Java Bean.
Dissecting EJB 2.x.
Summary.
Chapter 3 The New Enterprise JavaBean.
Introducing EJB 3.0.
The EJB 3.0 Simplified API.
Packaging and Deployment of the “New” Bean.
Summary.
Part II The Triad of Beans and Entities.
Chapter 4 Introduction to Session Beans.
Session Bean Lifetime.
Session Bean Subtypes.
Special Characteristics of Stateful Session Beans.
Summary.
Chapter 5 Writing Session Bean Web Services.
Web Services Concepts.
Implementing a Web Service.
Implementing a Web Service Client.
Summary.
Chapter 6 Java Persistence: Programming with Entities.
Object-Relational Mapping.
What Is an Entity?
The EntityManager API.
Summary.
Chapter 7 Introduction to Message-Driven Beans.
Motivations for Messaging.
The Java Message Service (JMS).
Integrating JMS with EJB.
Developing Message-Driven Beans.
Advanced Concepts.
JMS Message-Driven Bean Gotchas.
Summary.
Chapter 8 Adding Functionality to Your Beans.
Calling Beans from Other Beans.
Annotations.
Summary.
Part III Advanced Enterprise JavaBeans Concepts.
Chapter 9 Advanced Persistence Concepts.
Inheritance.
Polymorphism.
Relationships.
EJB-QL Enhancements.
Summary.
Chapter 10 Transactions.
Motivation for Transactions.
Benefits of Transactions.
Transactional Models.
Distributed Transactions.
Java Transaction Service and Java Transaction API.
Enterprise JavaBeans Transactions.
Container-Managed Transactions.
Bean-Managed Transactions.
Client-Controlled Transactions.
Transactional Isolation.
Designing Transactional Conversations in EJB.
Summary.
Chapter 11 Security.
Introduction.
Web Application Security.
Understanding EJB Security.
Secure Interoperability.
Web Services Security.
Summary.
Chapter 12 EJB Timers.
Scheduling.
EJB and Scheduling.
The EJB Timer Service.
Timer Example: CleanDayLimitOrdersBean.
Strengths and Limitations of EJB Timer Service.
Summary.
Chapter 13 EJB Best Practices.
When to Use EJB.
How to Choose a Web Application Framework to Work with EJB.
Applying Model Driven Development in EJB Projects.
Applying Extreme Programming in EJB Projects.
Testing EJB.
Implementing Client-Side Callback Functionality in EJB.
Choosing between Servlets and Stateless Session Beans as Service Endpoints.
Considering the Use of Aspect-Oriented Programming Techniques in EJB Projects.
Reflection, Dynamic Proxy, and EJB.
Deploying EJB Applications to Various Application Servers.
Debugging EJB.
Inheritance and Code Reuse in EJB.
Writing Singletons in EJB.
When to Use XML with EJB.
When to Use Messaging versus RMI-IIOP.
Summary.
Chapter 14 EJB Performance Optimizations.
It Pays to Be Proactive!
The Stateful versus Stateless Debate from a Performance Point of View.
How to Guarantee a Response Time with Capacity Planning.
Use Session Façade for Better Performance.
Choosing between Local Interfaces and Remote Interfaces.
Partitioning Your Resources.
Tuning Stateless Session Beans.
Tuning Stateful Session Beans.
Tuning Entities.
Tuning Message-Driven Beans.
Tuning Java Virtual Machine.
Miscellaneous Tuning Tips.
Choosing the Right EJB Server.
Summary.
Chapter 15 EJB Integration.
Why Does Integration Matter?
EJB and Integration.
Java EE Connector Architecture.
The Java EE Connector API.
System Contracts.
Connector Example: OutboundLoanRA.
Integration Best Practice: When to Use Which Technology.
Summary.
Chapter 16 Clustering.
Overview of Large-Scale Systems.
Other EJB Clustering Issues.
Summary.
Chapter 17 EJB-Java EE Integration: Building a Complete Application.
The Business Problem.
A Preview of the Final Web Site.
Scoping the Technical Requirements.
Example Code.
Summary.
Appendix A RMI-IIOP and JNDI Tutorial.
Java RMI-IIOP.
Object Serialization and Parameter Passing.
The Java Naming and Directory Interface.
Integrating RMI-IIOP and JNDI.
Summary.
Appendix B Annotations.
Introduction to Annotations.
EJB Annotation Reference.
Summary.
Index.