在tomcat容器中的Dropwizard [英] Dropwizard in tomcat container

查看:74
本文介绍了在tomcat容器中的Dropwizard的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个现有的应用程序,可以在tomcat中运行。
现在,我正在为新的其余Web服务评估dropwizard。现在,dropwizard带有内置码头。我该如何使用我的tomcat容器而不是其码头的容器来部署它?

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?

推荐答案

您不能执行此操作。 Dropwizard嵌入了Jetty。您应该研究仅使用Jersey作为标准Web应用程序。

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

这篇关于在tomcat容器中的Dropwizard的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆