Dropwizard in tomcat container
Asked Answered
H

2

3

I have an existing app, that runs in tomcat. Now I am evaluating dropwizard for my new rest webservices. Now, dropwizard comes with inbuilt jetty. How do I deploy it with my tomcat container and not with its jetty container?

Hypogene answered 10/9, 2012 at 16:26 Comment(0)
O
11

You can't do this. Dropwizard embeds Jetty. You should look into just using Jersey as a standard web application.

Ottar answered 10/10, 2012 at 6:48 Comment(0)
B
5

It makes a lot of sense to roll out your application as a jar, but sometimes you are bounded by company/enterprise standards and you're obliged to deploy on a given application server in production. 'Dropwizard in a box' ( https://github.com/rvs-fluid-it/wizard-in-a-box) makes it trivial to deploy a Dropwizard application as a war. It swaps DropWizard's embedded Jetty container and bridges to a servlet 3 container. 'Dropwizard in a box' is tested on Tomcat 7 and Weblogic 12c.

Beriosova answered 31/3, 2015 at 8:0 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.