Chapter 4. Complex Entity Beans and Local Objects
IN THIS CHAPTER
Book
is a relatively simple Entity Bean. It lacks any methods other than simple getters and setters, and the data that it wraps is of relatively simple types, such as int
and String
. The good news is that, at least in my experience, over the past several years, almost all Entity Beans are of the simple nature exemplified by Book
. The bad news is that implementing and deploying Entity Beans containing anything other than the simplest getter/setter functionality markedly increases the burden placed on you, the EJB developer.
Several facets of a Bean’s design add to the complexity of ...
Get EJB™ 2.1 Kick Start 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.