Page 1 of 1

About Question enthuware.ocejws.v6.2.316 :

Posted: Tue Nov 10, 2015 8:44 am
by ramy6_1
Hello ,

That means I can not use
@Resource EJBContext ctx;

Unless root resource is an EJB ?

Re: About Question enthuware.ocejws.v6.2.316 :

Posted: Wed Nov 11, 2015 7:50 am
by fjwalraven
Correct.

Re: About Question enthuware.ocejws.v6.2.316 :

Posted: Wed Dec 30, 2015 9:43 am
by disznoperzselo
MultiplyResource is not a servlet but a stateless session bean in this question. Why can you inject the ServletConfig into an EJB-based implementation like MultiplyResource?

Re: About Question enthuware.ocejws.v6.2.316 :

Posted: Wed Dec 30, 2015 2:01 pm
by fjwalraven
Why can you inject the ServletConfig into an EJB-based implementation like MultiplyResource?
You are right. That is not a correct answer.

I will fix that, thanks again for your feedback!

regards,
Frits