I've read that a REST service should be stateless but we're trying to implement a mobile service near to an existing web application, so we're trying to keep the same flow and be consistent.
Specifically:
1) login
we check for the username and password, "create" a session and response with a sessionid
then
2) choose role passing the sessionid
we store the role information in the session
and so on.
This is probably not the best approach but would be the simpler for our case.
Is this possible? How can I get the session with Spring/Weblogic?
Thanks for any info!