Apache web server - viii Contents Chapter 8 Chapter 9 Chapter 10

viii Contents Chapter 8 Chapter 9 Chapter 10 Putting It All Together: Walking through a BMP Entity Bean s Life Cycle 177 Summary 180 Writing Container-Managed Persistent Entity Beans 181 Features of CMP Entity Beans 181 CMP Entity Beans Are Subclassed 181 CMP Entity Beans Have No Declared Persistent Fields 182 CMP Get/Set Methods Are Defined in the Subclass 184 CMP Entity Beans Have an Abstract Persistence Schema 186 CMP Entity Beans Have a Query Language 187 CMP Entity Beans Can Have ejbSelect() Methods 189 Implementation Guidelines for Container-Managed Persistence 191 Container-Managed Persistence Example: A Product Line 196 Product.java 197 ProductLocal.java 198 ProductHome.java 198 ProductLocalHome.java 200 ProductPK.java 201 ProductBean.java 203 The Deployment Descriptor 207 The Container-Specific Deployment Descriptor 210 Client.java 212 Running the Client Program 214 The Life Cycle of a CMP Entity Bean 214 Summary 216 Introduction to Message-Driven Beans 217 Motivation to Use Message-Driven Beans 217 The Java Message Service 219 Messaging Domains 220 The JMS API 222 Integrating JMS with EJB 226 What Is a Message-Driven Bean? 227 Developing Message-Driven Beans 231 The Semantics 231 A Simple Example 234 Advanced Concepts 241 JMS Message-Driven Bean Gotchas 244 Message Ordering 245 Missed ejbRemove() Calls 245 Poison Messages 246 How to Return Results Back to Message Producers 249 The Future: Asynchronous Method Invocations 254 Summary 254 Adding Functionality to Your Beans 255 Calling Beans from Other Beans 255 Default JNDI Lookups 256 Understanding EJB References 257
Welcome to web hosting for all of you from India.Our recommendation is Web Hosting India.

Leave a Reply