| Author |
what's the advantage of using an entity bean (with BMP) ?
|
Fei Teng
Greenhorn
Joined: Feb 07, 2006
Posts: 4
|
|
|
What's the advantage of using BMP entity bean over connecting to database and do the query directly ?
|
 |
Pradeep bhatt
Ranch Hand
Joined: Feb 27, 2002
Posts: 8876
|
|
I see lesser need to go for BMP. Some advantages 1. If you have stored procedures in place and would like to use them , BMP is the only way. 2. You have a legacy system for which the EJB container does not have any persistence mechanism. 3. You want to map an entity to more than one table. 4. You want more control over the SQL queries and you can write more efficienet queries than the container.
|
Groovy
|
 |
 |
|
|
subject: what's the advantage of using an entity bean (with BMP) ?
|
|
|