1 Reply Latest reply on Dec 19, 2003 5:54 PM by juha

    Sharing JAR across EAR files?

    tgibson

      I am looking for the best practice for sharing the classes contained in a JAR(in this case these are utility classes) file across multiple EAR deployments. I have looked at the following options:

      1.) Specifying the shared jar in the manifest file of EAR files.

      2.) Placing classes one EAR file and using JBoss unified class loader to load them in memory.

      I have been placing the jar file in the /lib directory however I would these classes to be hot deployable so I am looking to get away for doing this.

      TMG