π οΈ How to build the java web application using Maven, and how to deploy it on an Apache Tomcat server
It is a compilation process to compile all the source code and package it as a jar or war file. It removes all the uncessary code such as comments and spaces. It make the optimized version of source code.
Maven is aka as Java Build tool, used to build and package the java application as jar or war file. It is also used to manage dependency. Java is required to run maven.