I've recently started learning about Maven and my question is about standard ways for deploying my web application on a web/app-server.
I am able to create war file for a simple web application that uses spring and mysql. I would like to deploy the same on server and test the application. I could see some documents/articles that mention about Jetty
for application deployment. I also saw some documentation that talks about Tomcat
for application deployment.
I would like to know, which server normally is used while developing application with Maven?
Both Tomcat and Jetty have multiple ways allowing developers to deploy applications on them. And although I haven't used this myself, many people have recommended Cargo which, as you can see, supports not only Jetty/Tomcat but many other web containers (and not only via Maven).
Above said, you should probably choose server based on other criteria (features / speed / RAM consumption / community / other things mentioned by krosenvold). People have already discussed that here before:
We use Tomcat mainly because somebody did this decision years ago and there's little point to switch to something else.