Building a war file for deployment

You have the option of creating a war file which can be deployed in any web server that supports servlet containers. This can be done via the command line from the root of A1 e-commerce project via a maven goal package.

mvn package

This will create a war file a1ecommerce.war in the folder called target, which is in the root of the A1 e-commerce project.

Get Learning AWS - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.