how to start an applic automaticaly while server starts

hai. i want to run an application in tomcat server.(for

example: helloworld program). the thing is helloworld

prog. should run , when server starts. is it possible?.

and how ? please help me out in this..

thanks.brief: the concept is , while server starts , an

application should start automaticaly, for example

helloworld program. while server starts helloworld

program should starts to run on the server

automatically>.. please help me out.

[503 byte] By [brucelia] at [2007-11-27 0:47:54]
# 1
Don't crosspost: http://forum.java.sun.com/thread.jspa?threadID=5159344
BalusCa at 2007-7-11 23:16:32 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...