Fastest way to deploy a Java servlet?

前端 未结 5 1100
再見小時候
再見小時候 2021-02-06 14:52

What is the fastest way to deploy a Java HttpServlet? Is there a solution that allows you to do it very quickly like I could do in Ruby/PHP/Python with mini

5条回答
  •  一生所求
    2021-02-06 15:15

    The fastest way is using your IDE of choice, of course. As for the minimal configuration, check out WebServlet annotation which appeared in Servlet 3.0 API. Using this annotation, you don't need any to add any additional information to web.xml.

提交回复
热议问题