About Question enthuware.ocejws.v6.2.65 :

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
disznoperzselo
Posts: 28
Joined: Fri Jan 02, 2015 12:13 pm
Contact:

About Question enthuware.ocejws.v6.2.65 :

Post by disznoperzselo »

You accept the following as correct answer for this question:
"A JAX-RS service is stateless" - true
"A JAX-RS service can be stateful" - not true

However in enthuware.ocejws.v6.2.297 you claim that:
"A RESTful service is stateless" - true
"JAX-RS only allows stateless interactions" - not true

The explanation:
it is possible to get to the session via the @Context HttpServletRequest

I think that you should change the answer to this question:
"A JAX-RS service is stateless" - not true
"A JAX-RS service can be stateful" - true

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

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

Post by fjwalraven »

Yes, good catch!

A JAX-RS web service is not always a RESTful web service.

A RESTful web service, by definition, is stateless. When a JAX-RS web service is turned into a stateful web service it isn't a RESTful web service anymore. I have changed the options.

Thanks for your feedback!

Regards,
Frits

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests