M
M
Multigame2016-11-09 12:20:58
Java
Multigame, 2016-11-09 12:20:58

How to create a daemon process in java?

Good afternoon!
It was necessary to write a small demon in java that will knock on several sites. The question is how to properly organize the daemon. Google gave several different methods from "manual" https://habrahabr.ru/post/51991/ to the use of libraries and near-java technologies.
Actually what is the fundamental difference and which is more correct?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Alexandrov, 2016-11-09
@jamakasi666

It's easier and better to follow the path of least resistance, it's better to use screen or wrap it in convenient scripts.

A
Andrey Myvrenik, 2016-11-09
@gim0

Apache Commons Daemon
Java Service Wrapper

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question