stateless session bean can not have passivization, then correct answer showed @prePassivate is wrong.
please explain why @prePassivate is right choice.
About Question com.enthuware.ets.scbcd.v5.2.249 :
Moderator: admin
Re: About Question com.enthuware.ets.scbcd.v5.2.249 :
I share the same view above. Any feedback??ETS User wrote:stateless session bean can not have passivization, then correct answer showed @prePassivate is wrong.
please explain why @prePassivate is right choice.
-
- Site Admin
- Posts: 10065
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question com.enthuware.ets.scbcd.v5.2.249 :
You are right. This has now been fixed.
Thanks for your feedback!
Thanks for your feedback!
If you like our products and services, please help us by posting your review here.
Re: About Question com.enthuware.ets.scbcd.v5.2.249 :
I noticed that @PostConstruct cannot invoke inCallerInRole according to correct answer in simulator.
But Enterprise JavaBean 3.0 core spec(page 79) said that isCallerInRole can be invoked from all lifecycle methods.
Have I missed something?
But Enterprise JavaBean 3.0 core spec(page 79) said that isCallerInRole can be invoked from all lifecycle methods.
Have I missed something?
-
- Posts: 8
- Joined: Tue Jan 29, 2013 4:14 pm
- Contact:
Re: About Question com.enthuware.ets.scbcd.v5.2.249 :
Oleksandr: You were looking at SFSB table. SLSB cannot call isCallerInRole from lifecycle method. Look at 4.5.2 of spec.
Who is online
Users browsing this forum: No registered users and 77 guests