Summary

Another hard day, but you now have lots of good new material under your belt. You've seen that Entity beans represent persistent domain data with corresponding domain (not application) logic. You've also seen that the constituent parts of Entity beans are pretty much the same as Session beans, though Entity beans also require a primary key class that must be custom-developed if the key is composite.

You've been shown one of the two different ways to implement Entity beans using bean-managed persistence, whereby the persistence code (JDBC, for example) resides within the bean code, container-managed persistence is covered tomorrow.

Finally, you saw that the EJB specification allows local interfaces to be defined for EJBs as well as, or ...

Get Sams Teach Yourself J2EE™ in 21 Days, Second Edition 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.