Glassfish中lib文件夹中的文件夹是什么,您应该如何使用它们? [英] What are the folders in the lib folder in Glassfish for, and how should you use them?

查看:99
本文介绍了Glassfish中lib文件夹中的文件夹是什么,您应该如何使用它们?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚下载了Hibernate,因为我想将它用作持久性提供程序而不是Eclipselink,并且您应该将它们放在Glassfish中域的lib文件夹中。但是那里有4个其他文件夹。他们有什么用途以及如何使用它们?

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 Glassfish. However there are 4 other folders there. What are they for and how to use them?

推荐答案

请参阅 GlassFish文档

See the GlassFish documentation:


可选软件包是Java类和关联的原生
代码包,应用程序开发人员可以使用它来扩展核心平台的功能

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

使用Java可选包机制,将JAR文件复制到
中的 domain-dir / lib / ext 目录,或者使用 asadmin add-library
命令与 - 类型ext 选项,然后重新启动服务器。

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.

有关GlassFish使用的类加载器的完整文档,请参阅关于类加载器的章节

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

这篇关于Glassfish中lib文件夹中的文件夹是什么,您应该如何使用它们?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆