Reputation: 157
I'm beginner in web development. I used Vert.x framework. And I got app.jar file for the server on aws. Every time I run it with this command:
java -jar app.jar
But I'm not sure, that is right way (I think it's nonprofessional). Who Can tell, what is best practice? I heard that, most of apps are deployed on web application containers, such as Tomcat, JBoss, Jetty etc. Please, show me right way.
Upvotes: 0
Views: 781
Reputation: 9128
Disclaimer: I am a member of the Vert.x core team.
It is not more professional to deploy a webapp in a container environment than running it directly with an executable JAR.
Actually, the opposite movement can be observed: SpringBoot and Wildfly-Swarm are tools to let you run Spring and JavaEE applications as an executable JAR.
So the real question is: does the tool do the job for you?
Upvotes: 1