Page 1 of 1
About Question enthuware.ocejws.v6.2.241 :
Posted: Fri Jun 26, 2015 8:59 am
by fabiolino
Sorry, i don't understand why the response 1,2,3 are wrong.
Can you explain ?
Re: About Question enthuware.ocejws.v6.2.241 :
Posted: Fri Jun 26, 2015 9:18 am
by fjwalraven
The first three root resource and sub resource classes contain Singleton, Stateful and MessageDriven beans which are not supported by JAX-RS.
Regards,
Frits
Re: About Question enthuware.ocejws.v6.2.241 :
Posted: Fri Jun 26, 2015 10:01 am
by fabiolino
But the correct response contains even @Singleton
Re: About Question enthuware.ocejws.v6.2.241 :
Posted: Fri Jun 26, 2015 11:38 am
by fjwalraven
Sorry, replied to quickly from the train
Singleton Session beans and Stateless Session beans are allowed to be root resource classes or sub resource classes (Stateful Session beans and MessageDriven beans are not supported)