Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to set the java application as a background proces

 
Riyas Hameed
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All, I am doing standalone application in java using socket communication(Client Server Application), MY client application will run almost 200 machines. My requirement is to run my java application as a background procesing instead of running in command prombs , unexpectedly the user cancelled the Command promb means my application wont run. my application has to run while system is start up. please give share your idea to solve this . Thanks in Advance ..
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15495
43
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is for example Apache Commons Daemon which allows you to run a Java application as a Windows service or a Unix background process. This is what is used for example for Apache Tomcat to make it run as a Windows service.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic