Jetty: To embed or not to embed?

前端 未结 3 444
挽巷
挽巷 2021-01-30 13:00

What are the benefits of embedding jetty vs deploying your webapp(s) in jetty? If you are planning on deploying more than one web app, should you strictly stick with deploying a

3条回答
  •  庸人自扰
    2021-01-30 13:23

    Embedding jetty is handy in two cases I'm familiar with:

    1. JNI. It's a lot easier to make sure you've got the right things in the right class loader.

    2. Development. It's much easier to fire up an embedded jetty in eclipse than to dance around with the eclipse web tools and deal with deployments and debugger attaching.

提交回复
热议问题