How to build web.xml for Dropwizard application

时间:2016-07-11 19:00:02

标签: java xml servlets web dropwizard

I have created application in Dropwizard, which is serving REST API to my clients. I used to run this from .jar file on server, everything worked fine.

Now I have requirement to move my application to WildFly, so now I assume that I need to have a WAR instead of JAR, and here comes my problem:

How to write web.xml to my application? What to include in there? Could anyone give me any template or tutorial or some example how it is done in Dropwizard?

1 个答案:

答案 0 :(得分:0)

我找到了我要找的东西。它的wizard-in-a-box项目可以完成构建WAR文件的所有必要事项。