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
About Question enthuware.ocejws.v6.2.65 :
Moderators: Site Manager, fjwalraven
-
- Posts: 28
- Joined: Fri Jan 02, 2015 12:13 pm
- Contact:
-
- Posts: 429
- Joined: Tue Jul 24, 2012 2:43 am
- Contact:
Re: About Question enthuware.ocejws.v6.2.65 :
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
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
Who is online
Users browsing this forum: No registered users and 5 guests