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

Moderator: admin

Post Reply
himaiMinh
Posts: 358
Joined: Fri Nov 29, 2013 8:26 pm
Contact:

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

Post 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.

admin
Site Admin
Posts: 10385
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

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

Post 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.

Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests