Hello Josh & Ronald, Thank you fro your response. Say for example, I have four clients and a server. If client1 sends the message "hi", the server receives the message "hi" and the server must send this "hi" message to clients1,2,3 & 4.
And there may be a scenario to send some messages to all clients without a client request to the server. Is this can be achieved. If so can you please explain me with an example. Jackson Ronald Klop wrote: > > client <---> tomcatServer <---> notificationServer > > 1. client sends request to tomcatServer > 2. tomcatServer calls notificationServer.waitForEvent() (this can wait > forever if there is no event) > 3. tomcatServer get event and send response to the client. > > Warning: step 2 takes up 1 thread. You can optimize that with Comet in > Tomcat 6. But maybe the simple implementation is enough for your > situation. > > Ronald. > > > Op donderdag, 4 juni 2009 13:11 schreef Josh Gooding :> >> Hello Jackson, >> >> Can you give us an example on a situation you are looking to have >> notification for please. It might help better answer your question. >> >> Warm regards, >> >> - Josh >> >> On Thu, Jun 4, 2009 at 3:21 AM, Jackose <jram...@gmail.com> wrote: >> >> > >> > Hi All, >> > I want to know whether there is any way to invoke a page or send >> > notification from server to client. I am using tomcat 5. If possible, >> could >> > you please explain me how to do it with a sample example. >> > >> > Awaiting for your response. >> > >> > Thanks, >> > Jackson >> > -- >> > View this message in context: >> > >> http://www.nabble.com/server-to-client-notification-tp23865023p23865023.html >> > Sent from the Tomcat - User mailing list archive at Nabble.com. >> > >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> > For additional commands, e-mail: users-h...@tomcat.apache.org >> > >> > >> >> >> >> > > > -- View this message in context: http://www.nabble.com/server-to-client-notification-tp23865023p23869577.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org