tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Pease" <mpe...@chartermi.net>
Subject Re: Servlet Design Question
Date Fri, 11 Apr 2003 12:30:47 GMT
I forgot to mention that the code I submitted is from a servlet, which is
initialized when Tomcat starts (using load on startup functions).

----- Original Message -----
From: "Santos Jha" <santosjha@adelphia.net>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Thursday, April 10, 2003 9:36 PM
Subject: Servlet Design Question


> Hello Everybody,
>
> I am developing a system which finds out the application specific status
> of different servers( written in C++)  and and this data is transmitted
> to users for display.System should continuously
> ( every 15 seconds) poll these servers to get the data. Once user
> requests it fetches the most recent data.
>
> In order to get the data from these servers I am planning to use socket.
> However I have few questions regarding socket and servlet.
>
> 1. Should I write a servlet with a init method  which will have
>           a. for ever loop and inside the for ever loop I will be
> continuously getting the data using socket.
>
> 2. Should I write a client outside the tomcat servlet container which
> will get all the data and will be sent them to the container.
> What will be the better approach? or there is something better than
these.?
> Santos
>
>
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message