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
posted 9 years ago
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.