About Question enthuware.ocejws.v6.2.316 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
ramy6_1
Posts: 124
Joined: Wed Feb 12, 2014 2:44 am
Contact:

About Question enthuware.ocejws.v6.2.316 :

Post by ramy6_1 »

Hello ,

That means I can not use
@Resource EJBContext ctx;

Unless root resource is an EJB ?

fjwalraven
Posts: 429
Joined: Tue Jul 24, 2012 2:43 am
Contact:

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

Post by fjwalraven »

Correct.

disznoperzselo
Posts: 28
Joined: Fri Jan 02, 2015 12:13 pm
Contact:

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

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

fjwalraven
Posts: 429
Joined: Tue Jul 24, 2012 2:43 am
Contact:

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

Post 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

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests