• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

method rights of Message Driven Bean

 
Tontang Bei
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone please tell me what can I access in Message driven bean methods as I cant find this in the K n B study guide. I need some info about ejbCreate() mostly. Thanks
 
Hari Krishna
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

For messageBeans

In setMessageDrivenContext() , we can get access to JNDI only
In ejbCreate() and ejbRemove(), we can get UserTransaction Object and accesss to JNDI. But remaining are not possible.
In business methods, we can use CMT methods... getRollbackOnly(), setRollbackOnly() ,BMT methods getUserTransaction(), get access to JNDI,Other beans, resource manager.
As you know.... MessageDriven bean doesn't have home remaining methods are not present in this.

Regards,
Hari Krishna.
 
Tontang Bei
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic