Deploying Java Application in UNIX,Windows, Linux
It depends on what your application does. Example your java code is a webapplication then deploy the application in Web server.
If you want to be able to remotely manage your applications
(update/install/uninstall) when deployed, you might want to take a look
at the OSGi service platform. This platform is used as the foundation
of Eclipse and is becoming popular in Apache as well as many commercial
Easiest and popular deployments