Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Bean Allowed Operations

 
vikas jain
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I was wondering is there a way to figure out which 'xxxContext' operations and access are allowed in which methods ( for all stateless,stateful,entity,message beans). Or should be just mug up the table?

Thanks,
Nikhil
 
Balaji Anand
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not necessarily
1) getEJBObject and getEJBLocalObject -> requires Session/Entity Object Identity
2) client security info -> requires Client security context
getCallerPrincipal and isCallerInRoll
3) getRollback and setRollback -> cmt needs to be in meaningful transaction context
4) other bean and resource access -> either client security context or transaction context.

if u are refering to HFEJB... in the points just map the methods then check which methods has what ... based on that u map the doable things.


I suggest you prepare a table yourself that way u will understand it more clearly
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic