How to run AWS sample JAVA code on an EC2

Posted by SeaPlusPlus on Stack Overflow See other posts from Stack Overflow or by SeaPlusPlus
Published on 2012-07-01T15:07:48Z Indexed on 2012/07/01 15:15 UTC
Read the original article Hit count: 200

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?

I'm just trying to run the basic DynamoDB example that connects to the database and adds a new table and row

© Stack Overflow or respective owner

Related posts about java

Related posts about server