Hi Chris,

 

Thanks for your interest in Restlet!

 

1) Regarding authentication, it can be handled by Restlet in various ways.
We support the common HTTP BASIC and DIGEST authentication schemes on the
server-side for example and various authorization mechanisms.

 

2) Restlet can be integrated easily with third-party caching solutions. This
could be done inside your resource classes.

 

Regarding the need for session, I suggest that you look at the list archives
as we have already discussed this point. There is also a related RFE:

 

“Alternatives to Servlet sessions”

http://restlet.tigris.org/issues/show_bug.cgi?id=364

 

Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~  <http://www.restlet.org/>
http://www.restlet.org
Noelios Technologies ~ Co-founder ~  <http://www.noelios.com/>
http://www.noelios.com

 

 

 

De : Chris Davis [mailto:[email protected]] 
Envoyé : mardi 28 juillet 2009 15:21
À : [email protected]
Objet : Considering Restlet for my web service

 

Hello,

 

I am currently trying to implement web service that will run on our existing
servlet based system. Restlet looks almost perfect for what I need but there
are two things that I need to be sure I can do before I can proceed with it.

 

1) Authentication - I need to allow a user to authenticate themselves before
accepting any other requests from that user 

 

2) Server side caching - I need to keep data retrieved from a 3rd party
system temporarily cached in memory for each user, to open new a connection
and retrieve this data is too expensive an operation to do on every request.


Of course you know I am going to say I need some sort of session :) but I
also agree that to do without the session is a good way to go.

 

So do you have any suggestions as to what to do? I am sure others must have
come up against this scenario.

Or perhaps restlet is not the correct solution in this case?

 

Any advice is much appreciated, this is my first stab at a web service and I
have looked at most of the other possible java web service solutions but
they all seem so overweight and disparate  (which I guess is why restlet was
created in the first place)

 

thanks in advance

Chris D

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2380870

Reply via email to