• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why Entity beans cannot use BMT

 
Gowher Naik
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is reason behind Entity beans cannot use BMT?

I tried Google search and consulted few books also but i could not find any answer.

Thanks
 
Narendra Dhande
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I think the entity objects should only be used to represent the entity in the database, that is managing the state. It is obvious to restrict the transaction management in the Entity beans. Generally Entity beans and created and the life-cycle is managed in the Session / Message bean. So Entity beans must run in the transaction started by caller beans.

I think for this reason the specification restricts the use of BMT in Entity beans.

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic