What are the folders in the lib folder in Glassfish for, and how should you use them?

后端 未结 1 1964
萌比男神i
萌比男神i 2021-01-21 08:48

I have just downloaded Hibernate because I want to use it as a persistence provider instead of Eclipselink and you are supposed to put them in the lib folder in your domain in G

1条回答
  •  花落未央
    2021-01-21 09:18

    See the GlassFish documentation:

    Optional packages are packages of Java classes and associated native code that application developers can use to extend the functionality of the core platform.

    To use the Java optional package mechanism, copy the JAR files into the domain-dir /lib/ext directory, or use the asadmin add-library command with the --type ext option, then restart the server.

    For a full documentation of the Class Loaders used by GlassFish, see the chapter on class loaders.

    0 讨论(0)
提交回复
热议问题