Third party libraries best practice in Tomcat

前端 未结 3 1214
谎友^
谎友^ 2021-02-13 00:32

I am using Tomcat for hosting my Java Web and Web Service applications for a long time now. Mostly for Spring and Grails appli

3条回答
  •  生来不讨喜
    2021-02-13 00:40

    I would go for Optional Packages: http://docs.oracle.com/javase/6/docs/technotes/guides/extensions/index.html

    Steps:

    1. Package your code, libraries in a jar/war.

    2. In the MANIFEST.MF of the above declare the extension list jars

    3. Referred them in the target applications

提交回复
热议问题