I don't know the answer to your question, but, I'm wondering if the
application actually has to run in Tomcat. It sounds like you might want to
just create a standalone application that listens on a port.

Jon

----- Original Message -----
From: "Alex Colic" <[EMAIL PROTECTED]>
To: "Tomcat-User" <[EMAIL PROTECTED]>
Sent: Friday, September 07, 2001 8:36 AM
Subject: How can I have a class run on start-up?


> Hi,
>
> hopefully someone can help me with this. I need some type of a class to
> start when the web server starts. This class is going to bind itself to a
> port and listen to commands from a VB app. Other classes in other web apps
> will register themselves with this class to receive these commands.
>
> My questions are:
>
> 1: how can you have a class start when the web server starts? This needs
to
> work with all web servers.
> 2: how can you have a class in a web app register itself with the class
> listening on the port?
>
> Any suggestions are appreciated.
>
> Regards
>
> Alex Colic
>

Reply via email to