Forums Register Login

Design advice for handling different protocols sessions in the server.

+Pie Number of slices to send: Send
Hello,

I am trying to think about plug-ability and maintainability structure for handling sessions in the server side.

I am sure this issue was raised in many places to any services givers.

Session can be of different protocols: HTTP, Webservice, ProtocolX, ProtocolY,...

After the client communicate with the server via protocol the request will be handled via "adapter" or something like that and the rest of the logic will be the same to all protocols(for example authenticate the client against the DB.. etc etc). the communication layer is the only difference.

So of course i thought right away of having session adapters layer and "sessionProtocol interfaces" which will be implemented.

Anyone could provide and designing suggestions to put all this things together or any other suggestions? (known Design pattern for this case would be warmly welcomed as well).

thanks, ray.
Put a gun against his head, pulled my trigger, now he's dead, that tiny ad sure bled
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 581 times.
Similar Threads
Swing-Servlet-EJB3 : Best Practices ?
Killing session on closing a browser
Protocols
Port Desktop Swing App to Mobile Device?...
Session Tracking
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 03:51:37.