0

I have got a requirement where i need to read data continuously from one table and after processing insert into another database table..I have made both web the application separately and they are working fine on Netbeans IDE.

Now as per my requirement i have to install these application on Apache Tomcat so that they can run continuously as per the running status of Apache tomcat..

I am not getting how to accomplish this.

Please guys help me..

Thanks in advance..

vikas
  • 473
  • 3
  • 14
  • 31
  • I guess what you are looking for is, run tomcat as service – kosa Oct 22 '13 at 15:26
  • @Nambari no, looks like OP wants to use some kind of background applications deployed as web applications in tomcat. – Luiggi Mendoza Oct 22 '13 at 15:27
  • @Nambari Sir if i am deploying .war file of application on tomcat and running tomcat as service will it do the needfull. – vikas Oct 22 '13 at 15:28
  • @LuiggiMendoza yes sir web application to run as continuosly on tomcat – vikas Oct 22 '13 at 15:30
  • 2
    My understanding is, if you application is tied up to Tomcat (that means some container is required to run), then making only your app as service doesn't make sense, simple solution would be Tomcat as service. If your app is not tied to any app server, then you can use some scripts to make it as service like here http://stackoverflow.com/questions/1406412/run-java-application-as-a-service/1407448#1407448 – kosa Oct 22 '13 at 15:31

0 Answers0