jQuery in Action, 3rd edition
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Is Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Is "run-as" a must for MDB?" Watch "Is "run-as" a must for MDB?" New topic

Is "run-as" a must for MDB?

Alec Lee
Ranch Hand

Joined: Jan 28, 2004
Posts: 569
Is "run-as" a must for MDB? HFEJB says it *can* (which implies optional), but I think I *must*; otherwise, the bean called by MDB dont know what security context to use.
Pradeep Dhavakumar

Joined: Feb 05, 2004
Posts: 19
Can or must depends on what the "other" bean is .If the other bean is also a MBD or has methods NOT dependent on the the client's role it is "can".

I agree. Here's the link: http://aspose.com/file-tools
subject: Is "run-as" a must for MDB?
jQuery in Action, 3rd edition