posted 21 years ago
ashish, for processing business logic we will be using session beans and when we directly deal with data updation such as new record inserion, deletion and updation, we will be using entity beans.
Usage of entity beans avoids the coding regarding database operations in our application because of container managed persistence and our application becomes independent of the database we use.
While handling dependent tables, referential integrity can be very well managed if we use entity beans due to container managed persistence and abstract schema.
But usage of entity beans reduces the performance and hence in our project , we are trying to reduce the usage of entity beans .
jyothi