Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Entities and CMT only

 
Pavel Kubal
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can somebody give me clear definition WHY entity beans can't be BMT?
 
Ugender Rekulampally
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pavel,

Entity beans involve with transactions and relation ships among other entity beans so any BMT bean can't accept the transaction or the transaction can't be propagated into BMT bean. I know Session beans also participates in transactions but session bean is like a process so there is chance that it can be independent itself and run the process but that may not be the case with Entity beans.So some times there is a chance to have BMT session bean/MDBs. So probably this is one reason. So that is why they make it compulsory for entity beans. the recommended way is Container even for Session and MDBs.
I too was having the same question and I think I still have.


Hope this helps a bit.

Thanks,
Ugender
[ September 22, 2006: Message edited by: Ugender Rekulampally ]
 
Pavel Kubal
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ugender, thanks for your reply.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic