Find the answer to your Linux question:
Results 1 to 5 of 5
Dear All, I have a java program which I need to run as a service or daemon. What is the most stable method to do it? It will be heavy ...
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Posts
    64

    Running java as daemon/service

    Dear All,
    I have a java program which I need to run as a service or daemon. What is the most stable method to do it? It will be heavy processing socket programming which will be continously receiving data? Thank you.

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149

  3. #3
    Just Joined!
    Join Date
    Jul 2010
    Posts
    64
    Dear Coopstah,
    Is there any other ways to do beside the apached because I cant find a good tutorial on how to start on this? Thank you.

  4. #4
    Just Joined! NightShade03's Avatar
    Join Date
    Apr 2010
    Location
    New York
    Posts
    18
    You can also use the JAVA Wrapper service (look on google for it), which will run your java app as a daemon on windows or linux. If the application crashes the wrapper service will note this and restart the application for you.

  5. #5
    Just Joined!
    Join Date
    Jul 2010
    Posts
    64
    Dear Shade,
    Thank you I shall do a search on that.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...