Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Entities and CMT only

 
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?
 
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.
 
    Bookmark Topic Watch Topic
  • New Topic