Archive | May 25th, 2008

Entity Beans in EJB(BMP)

May 25, 2008

0 Comments

ENTITY BEAN WITHBEAN-MANAGED PERSISTENCE ========================================== Thus far, we acquainted ourselves with Sessionbeans ( both stateless & stateful) and also CMP Entity bean. In this instalment, we take up the most difficult type, (ie) Bean-Managed Persistent Entity bean.(BMP) —————————————————————— Example for Bean-Managed Entity Bean ==================================== We have to write the SQL code for Persistence ,ourselves, in [...]

email

Entity Beans in EJB(CMP)

May 25, 2008

0 Comments

Entity beans are characterized by the following 3 features. a)They are 'Persistent'. ( they are stored in hard-disk) b)They are shared by many clients. c)They have , 'Primary key'. As already mentioned ,Entity beans can be thought of as a record ( or row) in a table of a relational database. ( This is just [...]