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