3.6. Key Point Summary

Our first EJB is a stateless session bean with several business processes to calculate monthly payments for long-term, fixed rate loans. We show you how to design and code a stateless session bean and how to write different clients that call its methods. We use the common Value Object pattern to enhance performance and programming convenience. We also describe the steps required to compile the source programs, package the components, and generate the deployment descriptors for the J2EE application server.

As we present the example, we want to explore the design of a J2EE application. We also want to apply design patterns where appropriate. Here are the key points from the chapter.

  • Use a session bean to fulfill a business ...

Get Enterprise JavaBeans™ Component Architecture: Designing and Coding Enterprise Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.