Reputation: 313
I am facing a problem to deploy drop wizard services in tomcat server,
I have created my web services in drop wizard framework which use jetty server in default, but here I want to deploy my web services in tomcat server so is there any way that how to deploy Drop wizard created services in tomcat environment.
Because drpo wizard use .jar file instead of .war file so is there any way to convert .jar to .war for deploying it in another server.
Please give your valuable answer I am facing these problem.
Upvotes: 1
Views: 2271
Reputation: 1377
As the below link points out, its not overly recommended as a pattern but if you use: https://github.com/twilio/wiztowar
You can convert your jar to a war for deployment to an application server. Comes with the fairly big warning attached that its not overly tested.
It might be the time to look at why you are using drop wizard if you plan to deploy to a tomcat app server. It goes against the core principals of the framework to a degree.
Spring boot is another option which can embed jetty or tomcat or produce a standard war.
Upvotes: 1