Gaurav Agarwal
Gaurav Agarwal

Reputation: 19102

How to deploy Java Webapp on Netbeans to AWS?

I am developing a Java web application in Netbeans IDE 7.1.1. The IDE comes with pre-installed Apache Tomcat 7.0.

The folder structure in Netbeans looks like this

enter image description here

All the servlet are in Source Packages and have added two in Libraries - MySQL JDBC Driver and Apache Commons Collection in Libraries folder.

Now I want to deploy this on Amazon Web Services - Elastic Beanstalk'. The documentation of AWS Elastic Beanstalk (beta) says Package your deployable code into a standard Java Web Application Archive (WAR file) and Upload your WAR file to Elastic Beanstalk using the AWS Management Console`

My Question

How to package my deployable code into WAR file?

Upvotes: 0

Views: 3363

Answers (3)

Sela Yair
Sela Yair

Reputation: 284

is the http://wiki.netbeans.org/AmazonBeanstalkSupport support gone in Netbeans 8? as I can't find it and also when search online it indicates that option only in NetBeans 7.2.

Upvotes: -1

Benny Code
Benny Code

Reputation: 54832

With NetBeans 7.2, you can use the new cloud feature:

http://wiki.netbeans.org/AmazonBeanstalkSupport :-)

Upvotes: 2

Petr Mensik
Petr Mensik

Reputation: 27516

If you are already running your app, then WAR should be in Files/dist folder in the root of your project. Otherwise deploying your app should create this folder with the war file.

Upvotes: 2

Related Questions