11.5. Developer’s responsibilities in general

This section describes in general what the developer must do in order to create an entity EJB. It covers issues that are independent of the particular persistence management strategy. In later chapters, we will discuss the particular requirements of BMP, 1.1-CMP, and 2.0-CMP in more detail.


What is a ‘property’? Many developers use the term ‘property’ as a synonym for ‘instance variable.’ In fact, the JavaBeans (not Enterprise JavaBeans) Specification defines a property as follows: If a class has a method getAbc() and a method setAbc() with compatible return types and arguments, then it has a property abc. This is true whether or not there is a real instance variable called ‘abc’ or not. ...

Get Applied Enterprise JavaBeans™ Technology 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.