Question

I'm working on smart new web application, and I like jetty-maven-plugin that helps me in my work.

Did somebody tryied running app with jetty-maven-plugin in production environment? What are pros & cons? Are there any security or performance issues?

Était-ce utile?

La solution

The jetty-maven-plugin is a development tool and is not recommended as a production deployment mechanism. Since you are deploying a war file then you should look to using the jetty distribution for production deployment, alternately you can look to just using jetty embedded to start up your webapp and then you are free to structure your own application in any form you like, be it a main() method or building your own start up mechanism or just using something like the maven appassembler plugin if you like.

So while there may not be any known security or performance issue related to the jetty-maven-plugin for use in production deployment, neither it nor maven itself should be viewed as a replacement for standard production deployment practices.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top