| Author |
abstract.....
|
bobby chaurasia
Ranch Hand
Joined: Mar 30, 2002
Posts: 84
|
|
why do we define the bean class as abstract and also the setters and the getter methods ? Thanks
|
 |
Simon Brown
sharp shooter, and author
Ranch Hand
Joined: May 10, 2000
Posts: 1860
|
|
This is a characteristic of how we define EJB 2.0 container managed entity beans. Basically, you write the signatures for the getters/setters, and the EJB container provides the actual implementations for you, including how those values are written to the database, etc. Simon
|
 |
Naidu Jitta
Greenhorn
Joined: May 12, 2003
Posts: 14
|
|
hai, This aproach is introduced from EJB2.0. This feature is called as the Abstract Persistance Schema. This is doen to incerease the performance. Previously, for every method call the fields are loaded or stored. But this is eliminated in the new specs increasing the performance... Naidu
|
 |
 |
|
|
subject: abstract.....
|
|
|