• Post Reply Bookmark Topic Watch Topic
  • New Topic

Trans in Stateful session beans  RSS feed

 
sandeep vaid
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

The sun's spacefications says at page 81 that

ejbCreate()
ejbRemove()
ejbActicate()
ejbPassivate()

when there is CMT run in unspacified Transaction Contaxt

my confusion is that if it don't have the Transation context associated with it then how can these methods access

Resuorce managers and other interprise beans not being in Transation becuse in First head EJB at page 354 with regard of the entity beans there is cleary written that
ejbActivate() can not access Resource Managers and other interprise beans with unspacified Transaction.

Tell me if it have different behavior for the Session Beans


Thanks!!
Sandeep Vaid
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!