Page 1 of 1

About Question enthuware.oce-ejbd.v6.2.491 :

Posted: Tue Jun 02, 2015 10:21 am
by himaiMinh
I think option 1 is the correct one because getCallerPrincipal and isCallerInRole methods are accessible by any session bean, not just stateful bean.

I think option 3 is not the correct option.

Re: About Question enthuware.oce-ejbd.v6.2.491 :

Posted: Tue Jun 02, 2015 10:30 am
by admin
1 is not correct because programmatic control is not required. You can use declarative also.
3 is a correct statement because it doesn't say "only" stateful session bean.