Summary

Today you wrote a bean-managed persistence enterprise bean. The home interface contains create, finder, and home methods, and the remote interface contains the business methods callable by the client. The bean class contains the instance variables representing its persistent state. It implements the callback, finder, and home methods. The bean delegated the data access calls to a data access object. You also learned how to package and deploy the enterprise bean. Finally, you wrote and ran a client that accesses the enterprise bean.

Get Sams Teach Yourself EJB in 21 Days 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.