need help with creating a system-service type application (unix-daemon)
Hi,
I wrote a simple java application in version 1.6 that accepts socket connections on a certain port and responds to the input it gets on this connection (almost like a chat server). Anyway I want to have this application run like daemon or a network service on windows eg. like tomcat or a web server, without needing a terminal window session opened while the application is running.
currently I'm running it like this:
java -jar socketserver.jar &
on a Debian linux system. This puts the application into the background but terminates it as soon as I close the terminal. How can I make it run as a daemon-like application (like sshd or bind etc...) so that it keeps running even after I close the SSH session or the terminal/shell I started it from?
please help!
p.s. how can I do this on windows systems?
carco

