maintain state in web server while calling another server (UDP)

S

sarath

Hi everyone.

I have a servlet A, which calls a method in another class B, which
calls a method in class C and that C sends some data through
UDP(non-waiting calls), and maintains a state machine by itself. so,
when i get the response from that C in B (asynchronous), i have to
return to next line in the servlet A, where it started the call to B.
How is it possible ?
the scenario is like, i get the authentication request from
browser and my authentication is not in my system where my application
is. i have to send the message through UDP to another server, which
would authenticate me on that machine and send the response through UDP
to me. My problem is, once this is done, my context is lost where my
servlet called the authentication.

Please help and ask me if u need any clarifications.

I had already posted this same query in another group and did not get
any reply. Bear with me if it is cross-posting

regards
sarath
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top