• Post Reply Bookmark Topic Watch Topic
  • New Topic

Stateless session bean  RSS feed

 
Shiv Sidhaarth
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

In SL bean, can I invoke getUserTransaction() inside ejbCreate/ejbRemove methods? HF book says, it is not possible to call tx related methods.

But on the contrary, mikalai notes say it is possible in SL bean(BMT).
Refer http://java.boot.by/bcd-guide/ch04s02.html
If it is possible, it means bean is in meaningful tx context. Then, resource mgr access and bean access also should be possible. Isn't it, Mikilai?

Regards,
Sankar
 
amol deshpande
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hope this helps
 
amol deshpande
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hope this helps
amol
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!