I have a Java application that acts as a server side for my android app, and it's located in my instance of Amazon ec2. I can run that java app through putty, which means that my computer has to stay on. How can I change that so the instance will constantly run that Java application?
Asked
Active
Viewed 612 times
1 Answers
1
Run application as a service or run application in background.
Service or running in background depends on which operating system your using.

Srikanth Hugar
- 385
- 5
- 22
-
Great man thanks! I run it on a linux instance so I append & to the end of the command. – itaied May 12 '14 at 18:49
-
How can I stop the app from running? – itaied May 12 '14 at 18:54
-
you can stop by killing the process, that is not the better way. Best way is to run in it as service and start and stop. If you dont want to go by service for now, you can kill the process. "ps -ef | grep "process_name" " , and find the process id , and " kill process_id" – Srikanth Hugar May 13 '14 at 04:06