- 浏览: 72697 次
- 性别:
- 来自: 南京
-
文章分类
最新评论
-
yonglelaoren:
你好在吗?做报表过程中我也碰到类似的问题,想请教下怎么实现yo ...
ireport 分组合并 -
zhengxin070513:
楼上正解呀!解决问题了!
关于struts2中s:url中文参数乱码的问题 -
winter8:
很牛逼呀,佩服!
体验GroupLayout(jdk1.6) -
blue3377:
为什么,我一吧这个加入我的项目里面。他就报错了:org.apa ...
j2EE中的过滤器的用法(过滤乱码) -
wjb_4595:
没来错地方,终于找到了。
oracle 10g表空间操作
安装JBOSS
安装JBoss之前必须检查JDK的版本,JBoss要求JDK1.4以上版本,如果需要使用最新的EJB3技术,必须使用JDK1.5版本。
JBoss有两种发布形式,一种是使用zip和tgz压缩文件,只需要解压缩到某个目录即可,需要注意的是目录名如果包含空格可能会在一些平台导致一些问题。这种方式可以最快地得到一个运行实例,但是稍后必须手工配置各种服务。
JBoss目前提供一个GUI安装程序简化安装过程,这个安装程序允许选择需要安装的服务,保证所有服务之间的依赖关系,配置缺省数据源。使用这个安装程序能极大地简化JBoss的安装和配置。这个安装程序可以使用Java Web Start直接从浏览器中运行,也可以下载一个可执行的JAR文件。
基于GUI安装程序的安装步骤如下:
选择安装语言
启动安装程序,选择安装语言,这里选择的安装语言指安装过程中的使用的语言,与JBoss和布署在JBoss的应用程序没有任何关系。

确认License

选择安装路径
选择安装路径,安装程序不会将安装路径信息写入任何脚本或注册表,因此可以自由地移动或重命名JBoss安装目录。注意安装路径最好不要包含空格。

选择启动配置
启动配置确定可以安装的包集合,具体如下:
all | A full J2EE 1.4 server profile with enterprise extensions such as clustering and IIOP. | |
default | A base J2EE 1.4 server profile. | |
ejb3 | An EJB3 profile supporting the full EJB3 specification with Tomcat | This requires a Java 5 runtime and is not a J2EE 1.4 compatible configuration. |
ejb3-clustered | An EJB3 profile supporting the full EJB3 specification with Tomcat and clustering. | This requires a Java 5 runtime and is not a J2EE 1.4 compatible configuration. |
jms | A JMS 1.1 server profile | This is not a J2EE 1.4 compatible configuration. |
minimal | A minimal JMX microkernel | This is not a J2EE 1.4 compatible configuration. |
portal | A JBoss Portal 2.4 profile | This is not a J2EE 1.4 compatible configuration. |
tomcat | A Servlet 2.4 container profile | This is not a J2EE 1.4 compatible configuration. |
选择启动配置后可以自定义需要安装的服务。安装程序知道服务之间的依赖关系,可以保证安装的服务的一致性,这个特性比通过压缩文件的安装方式更安全。
命名配置
除非需要创建多个配置,通常应该使用缺省的配置名称default,否则必须在启动JBoss时通过-c选项指定JBoss使用的配置名称。

配置数据源
几乎所有的应用程序都会要求一个数据源,JBoss提供一个内嵌的Hypersonic数据库,并设置了一个缺省的数据源。下面的屏幕用来选择数据源类型。

下面的屏幕用来配置数据源参数,使用这种方式配置数据源,必须将相应的JDBC驱动库保存在服务器。

设置隔离级别
现在可以启用应用程序隔离功能,此功能可以完全分离所有应用程序的类加载。应用程序隔离功能在某些情况是非常有用的,但是这会降低性能。通常会禁用此功能。

安全设置
当使用压缩文件进行安装时,所有的服务都没有安全认证,包括管理服务。GUI安装程序可以进行安全设置,推荐作法是启用所有服务的安全设置,并更改admin用户的密码。

确认安装

目录结构
安装JBoss将创建一个jboss-4.0.4目录,包含服务器启动脚本,库文件,服务配置集和工作目录。下图包含服务器目录结构:
org.jboss.system.server.ServerConfig 接口常量和相应的系统属性字符串显示如上图。那些以URL结束的位置表示可以使用URL来访问的远程地址。
JBoss顶级目录
bin | All the entry point JARs and start scripts included with the JBoss distribution are located in the bin directory. |
client | The JARs that are required for clients that run outside of JBoss are located in the client directory. |
server | The JBoss server configuration sets are located under the server directory. The default server configuration set is the server/default set. JBoss ships with minimal, default and all configuration sets. The subdirectories and key configuration files contained default configuration set are discussed in more detail in Chapter 4, The Default Server Configuration File Set |
lib | The lib directory contains startup JARs used by JBoss. Do not place your own libraries in this directory. |
JBoss服务器配置目录
conf | The conf directory contains the jboss-service.xml bootstrap descriptor file for a given server configuration. This defines the core services that are fixed for the lifetime of the server. |
data | The data directory is available for use by services that want to store content in the file system. |
deploy | The deploy directory is the default location the hot deployment service looks to for dynamic deployment content. This may be overridden through the URLDeploymentScanner URLs attribute. |
lib | The lib directory is the default location for static Java libraries that should not be hot deployed. All JARs in this directory are loaded into the shared classpath at startup. |
log | The log directory is the directory log files are written to. This may be overridden through the conf/log4j.xml configuration file. |
tmp | The tmp directory is used by JBoss to store temporarily files such as unpacked deployments. |
缺省服务器配置
JBOSS_DIST/server 包含一个或多个服务器配置集合,default配置集合保存在 JBOSS_DIST/server/default 目录。JBoss允许添加多个配置文件集合,可以通过选项设置进行切换。
要创建一个新的配置集合,拷贝default文件集合到一个新的目录,并更改相应的配置文件。下图显示default配置文件集合。.

如下是conf目录下的配置文件描述:
This is a minimalist example of the jboss-service.xml configuration file. It is the jboss-service.xml file used in the minimal configuration file set.
jboss-service.xml defines the core services configurations.
The jndi.properties file specifies the JNDI InitialContext properties that are used within theNS-MYC10 JBoss server when an InitialContext is created using the no-argument constructor.
This file configures the Apache log4j framework category priorities and appenders used by the JBoss server code.
This file contains sample server side authentication configurations that are applicable when using JAVAS based security.
The props directory contains the users and roles property files for the jmx-console.
This file provides the default configuration for the legacy EJB 1.1 CMP engine.
This file provides the default container configurations.
This file provides a default configuration file for the JBoss CMP engine.
The xmdesc directory contains XMBean descriptors for several services configured in the jboss-service.xml file.
The following are the files in the deploy directory and their function.
This file configures the bean shell deployer, which deploys bean shell scripts as JBoss services.
This is a service that allows for custom invalidation of the EJB caches via JMS notifications. It is disabled by default.
This is a service that provides support for J2EE application clients. It manages the java:comp/env enterprise naming context for client applications based on the application-client.xml descriptor.
The EAR deployer is the service responsible for deploying J2EE EAR files.
The EJB deployer is the service responsible for deploying J2EE EJB JAR files.
hsqldb-ds.xml configures the Hypersonic embedded database service configuration file. It sets up the embedded database and related connection factories.
http-invoker.sar contains the detached invoker that supports RMI over HTTP. It also contains the proxy bindings for accessing JNDI over HTTP.
This service configure the AspectManagerService and deploys JBoss AOP applications.
jboss-bean.deployer provides the JBoss microcontainer, which deploys POJO services wrapped in .beans files.
jboss-ha-local-jdbc.rar is an experimental version of jboss-local-jdbc.rar that supports datasource failover.
jboss-ha-xa-jdbc.rar is an experimental version of jboss-xa-jdbc.rar that supports datasource failover.
jboss-local-jdbc.rar is a JCA resource adaptor that implements the JCA ManagedConnectionFactory interface for JDBC drivers that support the DataSource interface but not JCA.
jboss-xa-jdbc.rar is a JCA resource adaptor that implements the JCA ManagedConnectionFactory interface for JDBC drivers that support the XADataSource interface.
jbossjca-service.sar is the application server implementation of the JCA specification. It provides the connection management facilities for integrating resource adaptors into the JBoss server.
The jbossweb-tomcat55.sar directory provides the Tomcat 5.5 servlet engine. The SAR is unpacked rather than deployed as a JAR archive so that the tomcat configuration files can be easily edited.
jbossws14.sar provides J2EE web services support.
hsqldb-jdbc-state-service.xml provides JMS state management using Hypersonic.
hsqldb-jdbc2-service.xml configures JMS persistence and caching using Hypersonic. It also contains the DestinationManager MBean, which is the core service for the JMS implementation.
jbossmq-destinations-service.xml configures a number of JMS queues and topics used by the JMS unit tests.
jbossmq-httpil.sar provides a JMS invocation layer that allows the use of JMS over HTTP.
The jbossmq-service.xml file configures the core JBossMQ JMS service.
The jms-ds.xml file configures the JBossMQ JMS provider for use with the jms-ra.rar JCA resource adaptor.
jms-ra.rar is a JCA resource adaptor that implements the JCA ManagedConnectionFactory interface for JMS connection factories.
jvm-il-service.xml configures the in-JVM JMS transport invocation layer.
uil2-service.xml configures the JMS version 2 unified invocation layer. Its a fast and reliable custom socket based transport that should be used for messaging between JVMs.
The jmx-console.war directory provides the JMX Console. The JMX Console provides a simple web interface for managing the MBean server.
jmx-invoker-service.sar is an unpacked MBean service archive that exposes a subset of the JMX MBeanServer interface methods as an RMI interface to enable remote access to the JMX core functionality. This is similar to the legacy jmx-rmi-adaptor.sar, with the difference that the transport is handled by the detached invoker architecture.
jsr-88-service.xml provides the JSR 88 remote deployment service.
mail-ra.rar is a resource adaptor that provides a JavaMail connector.
The mail-service.xml file is an MBean service descriptor that provides JavaMail sessions for use inside the JBoss server.
console-mgr.sar provides the Web Console. It is a web application/applet that provide a richer view of the JMX server management data than the JMX console. You may view the console using the URL http://localhost:8080/web-console/.
The monitoring-service.xml file configures alert monitors like the console listener and email listener used by JMX notifications.
The properties-service.xml file is an MBean service descriptor that allows for customization of the JavaBeans PropertyEditors as well as the definition of system properties.
The scheduler-service.xml and schedule-manager-service.xml files are MBean service descriptors that provide a scheduling type of service.
The sqlexception-service.xml file is an MBean service descriptor for the handling of vendor specific SQLExceptions.
The uuid-key-generator.sar service provides a UUID-based key generation facility.
所有的配置都包含几个额外的服务:
This service configures clustering communication for most clustered services in JBoss.
This provides the HA singleton service, allowing JBoss to manage services that must be active on only one node of a cluster.
farm-service.xml provides the farm service, which allows for cluster-wide deployment and undeployment of services.
This service provides HTTP tunneling support for clustered environments.
This provides IIOP invocation support.
This service provides UDDI lookup services.
This is a JMX to SNMP adaptor. It allows for the mapping of JMX notifications onto SNMP traps.
Provides AOP support for field-level HTTP session replication.
如果安装了EJB3支持,几个额外的EJB3服务可用:
This service provides the AOP interceptor stack configurations for EJB3 bean types.
This service deploys EJB3 applications into JBoss.
This is a Java 5 version of the AOP deployer. The AOP deployer configures the AspectManagerService and deploys JBoss AOP applications.
This services provides Java EE 5 web services support.
Finally, in the EJB3 all configuration adds two additional services:
This services provides replication and failover for EJB3 stateful session beans.
This services provides a clustered cache for EJB3 entity beans.
启动停止JBoss
安装好JBoss后,要确认安装是否成功,进入bin目录,执行run.bat或run.sh脚本。输出应该类似如下:
java 代码
- $ sh run.sh
- =========================================================================
- JBoss Bootstrap Environment
- JBOSS_HOME: /tmp/jboss-4.0.4.GA
- JAVA: java
- JAVA_OPTS: -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000
- -Dsun.rmi.dgc.server.gcInterval=3600000 -Dprogram.name=run.sh
- CLASSPATH: /tmp/jboss-4.0.4.GA/bin/run.jar:/lib/tools.jar
- =========================================================================
- 23:28:48,561 INFO [Server] Starting JBoss (MX MicroKernel)
- ...
- 23:29:09,249 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build:
- CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 20s:679ms
如果输出类似如上图,现在应该可以使用JBoss了。
如果不指定参数使用run.sh,会使用default服务配置集合。要切换到其他服务配置集合,使用如下命令启动脚本,minimal是服务配置集合名称。
java 代码
- $ ./run.sh -c minimal
- ...
- 23:37:41,582 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build:
- CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 2s:212ms
run脚本选项包括:
java 代码
- usage: run.sh [options]
- -h, --help Show this help message
- -V, --version Show version information
- -- Stop processing options
- -D[=] Set a system property
- -d, --bootdir= Set the boot patch directory; Must be absolute or url
- -p, --patchdir= Set the patch directory; Must be absolute or url
- -n, --netboot= Boot from net with the given url as base
- -c, --configuration= Set the server configuration name
- -B, --bootlib= Add an extra library to the front bootclasspath
- -L, --library= Add an extra library to the loaders classpath
- -C, --classpath= Add an extra url to the loaders classpath
- -P, --properties= Load system properties from the given url
- -b, --host= Bind address for all JBoss services
- -g, --partition= HA Partition name (default=DefaultDomain)
- -u, --udp= UDP multicast address
- -l, --log= Specify the logger plugin type
要关闭服务器,只需要在启动的JBoss控制台按 Ctrl-C 键即可,也可以使用shutdown.sh命令。
java 代码
- [bin]$ ./shutdown.sh -S
shutdow脚本支持如下选项。
java 代码
- usage: shutdown [options]
- options:
- -h, --help Show this help message (default)
- -D[=] Set a system property
- -- Stop processing options
- -s, --server= Specify the JNDI URL of the remote server
- -n, --serverName= Specify the JMX name of the ServerImpl
- -a, --adapter= Specify JNDI name of the MBeanServerConnection to use
- -u, --user= Specify the username for authentication
- -p, --password= Specify the password for authentication
- operations:
- -S, --shutdown Shutdown the server
- -e, --exit= Force the VM to exit with a status code
- -H, --halt= Force the VM to halt with a status code
使用shutdown命令将查询包含 jmx-invoker-service.xml 服务的服务器配置,因此shutdown命令不能在minimal配置下使用
相关推荐
发展过程 2007年之前 apache + mod_weblogic + Weblogic ...apache + mod_weblogic + jboss(4.05) 2008年低 apache(2.0.61) + mod_jk(1.2.26) + jboss(4.05) 2010年低 apache(2.2) + mod_proxy + jetty(7.2.0)
- JBoss 4.03sp1/4.04/4.05 with Tomcat 5.0.28/5.5.17 - Jetty 5.1.11 - Tomcat 5.0.28/5.5.17 - Resin 3.0.19 - WebSphere 6.0.2.5 #### 数据库 对于数据库部分,Liferay提供了广泛的兼容性,其中包括Oracle...
- JBoss 4.03sp1/4.04/4.05/4.2/4.3 - JBoss 5.x - Oracle Application Server (OC4J) - Resin 3.1.x - Resin 3.2.x - Tomcat 5.5.X - WebLogic 9/10 - Oracle WebLogic - **每种服务器的安装步骤:**对于...
1.版本:matlab2014/2019a/2024a 2.附赠案例数据可直接运行matlab程序。 3.代码特点:参数化编程、参数可方便更改、代码编程思路清晰、注释明细。 4.适用对象:计算机,电子信息工程、数学等专业的大学生课程设计、期末大作业和毕业设计。
8c71b76fb2ec10cf50fc6b0308d3dcfc_9545878e2b97a84b2e089ece58da9e82
Android逆向过程学习
内容概要:本文详细介绍了基于西门子S7-200 PLC的糖果包装控制系统的设计与实现。首先阐述了PLC在工业自动化领域的优势及其在糖果包装生产线中的重要性。接着深入探讨了系统的硬件连接方式,包括传感器、执行机构与PLC的具体接口配置。随后展示了关键的编程实现部分,如糖果计数、包装执行、送膜控制、称重判断以及热封温度控制等具体梯形图代码片段。此外,还分享了一些实用的经验技巧,如防止信号抖动、PID参数优化、故障诊断方法等。最后总结了该系统的优势,强调其对提高生产效率和产品质量的重要作用。 适合人群:从事工业自动化控制、PLC编程的技术人员,尤其是对小型PLC系统感兴趣的工程师。 使用场景及目标:适用于糖果制造企业,旨在提升包装生产线的自动化程度,确保高效稳定的生产过程,同时降低维护成本并提高产品一致性。 其他说明:文中不仅提供了详细的理论讲解和技术指导,还结合实际案例进行了经验分享,有助于读者更好地理解和掌握相关知识。
内容概要:本文详细介绍了参与西门子杯比赛中关于三部十层电梯系统的博图V15.1程序设计及其WinCC画面展示的内容。文中不仅展示了电梯系统的基本架构,如抢单逻辑、方向决策、状态机管理等核心算法(采用SCL语言编写),还分享了许多实际调试过程中遇到的问题及解决方案,例如未初始化变量导致的异常行为、状态机遗漏空闲状态、WinCC画面动态显示的挑战以及通信配置中的ASCII码解析错误等问题。此外,作者还特别提到一些创意性的设计,如电梯同时到达同一层时楼层显示器变为闪烁爱心的效果,以及节能模式下电梯自动停靠中间楼层的功能。 适合人群:对PLC编程、工业自动化控制、电梯调度算法感兴趣的工程技术人员,尤其是准备参加类似竞赛的学生和技术爱好者。 使用场景及目标:适用于希望深入了解PLC编程实践、掌握电梯群控系统的设计思路和技术要点的人士。通过学习本文可以更好地理解如何利用PLC进行复杂的机电一体化项目的开发,提高解决实际问题的能力。 其他说明:文章风格幽默诙谐,将严肃的技术话题融入轻松的生活化比喻之中,使得原本枯燥的专业知识变得生动有趣。同时,文中提供的经验教训对于从事相关领域的工作者来说非常宝贵,能够帮助他们少走弯路并激发更多创新思维。
慧荣量产工具合集.zip
内容概要:本文详细介绍了永磁同步电机(PMSM)的FOC(磁场定向控制)和SVPWM(空间矢量脉宽调制)算法的仿真模型。首先解释了FOC的基本原理及其核心的坐标变换(Clark变换和Park变换),并给出了相应的Python代码实现。接下来探讨了SVPWM算法的工作机制,包括扇区判断和占空比计算的方法。此外,文章还讨论了电机的PI双闭环控制结构,即速度环和电流环的设计与实现。文中不仅提供了详细的理论背景,还分享了一些实用的编程技巧和注意事项,帮助读者更好地理解和应用这些算法。 适合人群:电气工程专业学生、从事电机控制系统开发的技术人员以及对永磁同步电机控制感兴趣的科研人员。 使用场景及目标:① 学习和掌握永磁同步电机的FOC控制和SVPWM算法的具体实现;② 提供丰富的代码示例和实践经验,便于快速搭建和调试仿真模型;③ 探讨不同参数设置对电机性能的影响,提高系统的稳定性和效率。 其他说明:文章强调了在实际应用中需要注意的一些细节问题,如坐标变换中的系数选择、SVPWM算法中的扇区判断优化以及PI控制器的参数调整等。同时,鼓励读者通过动手实验来加深对各个模块的理解。
# 压缩文件中包含: 中文文档 jar包下载地址 Maven依赖 Gradle依赖 源代码下载地址 # 本文件关键字: jar中文文档.zip,java,jar包,Maven,第三方jar包,组件,开源组件,第三方组件,Gradle,中文API文档,手册,开发手册,使用手册,参考手册 # 使用方法: 解压最外层zip,再解压其中的zip包,双击 【index.html】 文件,即可用浏览器打开、进行查看。 # 特殊说明: ·本文档为人性化翻译,精心制作,请放心使用。 ·只翻译了该翻译的内容,如:注释、说明、描述、用法讲解 等; ·不该翻译的内容保持原样,如:类名、方法名、包名、类型、关键字、代码 等。 # 温馨提示: (1)为了防止解压后路径太长导致浏览器无法打开,推荐在解压时选择“解压到当前文件夹”(放心,自带文件夹,文件不会散落一地); (2)有时,一套Java组件会有多个jar,所以在下载前,请仔细阅读本篇描述,以确保这就是你需要的文件;
Android逆向过程学习
1.版本:matlab2014/2019a/2024a 2.附赠案例数据可直接运行matlab程序。 3.代码特点:参数化编程、参数可方便更改、代码编程思路清晰、注释明细。 4.适用对象:计算机,电子信息工程、数学等专业的大学生课程设计、期末大作业和毕业设计。
3dmax插件
# 【spring-ai-autoconfigure-vector-store-qdrant-1.0.0-M7.jar中文文档.zip】 中包含: 中文文档:【spring-ai-autoconfigure-vector-store-qdrant-1.0.0-M7-javadoc-API文档-中文(简体)版.zip】 jar包下载地址:【spring-ai-autoconfigure-vector-store-qdrant-1.0.0-M7.jar下载地址(官方地址+国内镜像地址).txt】 Maven依赖:【spring-ai-autoconfigure-vector-store-qdrant-1.0.0-M7.jar Maven依赖信息(可用于项目pom.xml).txt】 Gradle依赖:【spring-ai-autoconfigure-vector-store-qdrant-1.0.0-M7.jar Gradle依赖信息(可用于项目build.gradle).txt】 源代码下载地址:【spring-ai-autoconfigure-vector-store-qdrant-1.0.0-M7-sources.jar下载地址(官方地址+国内镜像地址).txt】 # 本文件关键字: spring-ai-autoconfigure-vector-store-qdrant-1.0.0-M7.jar中文文档.zip,java,spring-ai-autoconfigure-vector-store-qdrant-1.0.0-M7.jar,org.springframework.ai,spring-ai-autoconfigure-vector-store-qdrant,1.0.0-M7,org.springframework.ai.vectorstore.qdr
1.版本:matlab2014/2019a/2024a 2.附赠案例数据可直接运行matlab程序。 3.代码特点:参数化编程、参数可方便更改、代码编程思路清晰、注释明细。 4.适用对象:计算机,电子信息工程、数学等专业的大学生课程设计、期末大作业和毕业设计。
内容概要:本文详细介绍了平方根容积卡尔曼滤波(SRCKF)在永磁同步电机(PMSM)控制系统中的应用及其相对于传统CKF的优势。文章首先指出传统CKF在处理协方差矩阵时存在的数值不稳定性和非正定问题,导致系统性能下降。接着,作者通过引入SRCKF,利用Cholesky分解和QR分解来确保协方差矩阵的正定性,从而提高状态估计的精度和稳定性。文中展示了具体的电机模型和状态方程,并提供了详细的代码实现,包括状态预测、容积点生成以及观测更新等关键步骤。此外,文章还分享了实际调试过程中遇到的问题及解决方案,如选择合适的矩阵分解库和处理电机参数敏感性。最终,通过实验数据对比,证明了SRCKF在突加负载情况下的优越表现。 适合人群:从事永磁同步电机控制研究的技术人员、研究生及以上学历的研究者。 使用场景及目标:适用于需要高精度状态估计的永磁同步电机控制系统的设计与优化,特别是在处理非线性问题和提高数值稳定性方面。 其他说明:文章引用了相关领域的权威文献,如Arasaratnam的TAC论文和Zhong的《PMSM无传感器控制综述》,并强调了实际工程实践中代码调试的重要性。
# 【tokenizers-***.jar***文档.zip】 中包含: ***文档:【tokenizers-***-javadoc-API文档-中文(简体)版.zip】 jar包下载地址:【tokenizers-***.jar下载地址(官方地址+国内镜像地址).txt】 Maven依赖:【tokenizers-***.jar Maven依赖信息(可用于项目pom.xml).txt】 Gradle依赖:【tokenizers-***.jar Gradle依赖信息(可用于项目build.gradle).txt】 源代码下载地址:【tokenizers-***-sources.jar下载地址(官方地址+国内镜像地址).txt】 # 本文件关键字: tokenizers-***.jar***文档.zip,java,tokenizers-***.jar,ai.djl.huggingface,tokenizers,***,ai.djl.engine.rust,jar包,Maven,第三方jar包,组件,开源组件,第三方组件,Gradle,djl,huggingface,中文API文档,手册,开发手册,使用手册,参考手册 # 使用方法: 解压 【tokenizers-***.jar***文档.zip】,再解压其中的 【tokenizers-***-javadoc-API文档-中文(简体)版.zip】,双击 【index.html】 文件,即可用浏览器打开、进行查看。 # 特殊说明: ·本文档为人性化翻译,精心制作,请放心使用。 ·只翻译了该翻译的内容,如:注释、说明、描述、用法讲解 等; ·不该翻译的内容保持原样,如:类名、方法名、包名、类型、关键字、代码 等。 # 温馨提示: (1)为了防止解压后路径太长导致浏览器无法打开,推荐在解压时选择“解压到当前文件夹”(放心,自带文件夹,文件不会散落一地); (2)有时,一套Java组件会有多个jar,所以在下载前,请仔细阅读本篇描述,以确保这就是你需要的文件; # Maven依赖: ``` <dependency> <groupId>ai.djl.huggingface</groupId> <artifactId>tokenizers</artifactId> <version>***</version> </dependency> ``` # Gradle依赖: ``` Gradle: implementation group: 'ai.djl.huggingface', name: 'tokenizers', version: '***' Gradle (Short): implementation 'ai.djl.huggingface:tokenizers:***' Gradle (Kotlin): implementation("ai.djl.huggingface:tokenizers:***") ``` # 含有的 Java package(包): ``` ai.djl.engine.rust ai.djl.engine.rust.zoo ai.djl.huggingface.tokenizers ai.djl.huggingface.tokenizers.jni ai.djl.huggingface.translator ai.djl.huggingface.zoo ``` # 含有的 Java class(类): ``` ai.djl.engine.rust.RsEngine ai.djl.engine.rust.RsEngineProvider ai.djl.engine.rust.RsModel ai.djl.engine.rust.RsNDArray ai.djl.engine.rust.RsNDArrayEx ai.djl.engine.rust.RsNDArrayIndexer ai.djl.engine.rust.RsNDManager ai.djl.engine.rust.RsSymbolBlock ai.djl.engine.rust.RustLibrary ai.djl.engine.rust.zoo.RsModelZoo ai.djl.engine.rust.zoo.RsZooProvider ai.djl.huggingface.tokenizers.Encoding ai.djl.huggingface.tokenizers.HuggingFaceTokenizer ai.djl.huggingface.tokenizers.HuggingFaceTokenizer.Builder ai.djl.hu
3
pchook源码纯源码不是dll