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=2376280

Reply via email to