How do I deploy Java code on an EC2 instance?
<p>I just started with Amazon web services, and I have an EC2 instance.  I downloaded the JAVA SDK and the Eclipse toolbox.  I am able to run a sample program locally on my PC and connect to the Amazon databases, etc.  My question is, what do I need to do to get this working on my EC2 instance?  This may not even be specific to AWS.  On Eclipse, I can just "Run as Application" and run any code.  On the server side, what do I need to do?  Should I ftp over my .java files?  Should I export it to a jar and upload that?  Do I need to install anything special to actually run it?</p>
