Amazon AWS - Deploy

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?).

Thanks
ToriaDAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
ToriaDConnect With a Mentor Author Commented:
Thanks for reply,

I got around it by instantiating what was my 'main' class in the standalone app in index.jsp


Thanks,
T
0
 
ToriaDAuthor Commented:
it was soln
0
All Courses

From novice to tech pro — start learning today.