Amazon AWS - Deploy
Posted on 2011-09-08
I have developed an application that logs in to Amazon s3 bucket and downloads a file periodically...This application runs as a standalone java application kicked off by a main method from within my Eclipse project.
If i deploy this as a .war to Amazon Web services( Beanstalk ) the web container has no way of knowing what class is the main class/method to kick off the server process. This application has no webservice, it will just run as a server process indefinitely
I tried entering in Main-Class parameter in the MANIFEST file but this has no effect.
How can I convert this to web/amazon type project to make it run when it launches on web container... (servlet, point to main class etc?).