Hibernate Related JAR Package description

Source: Internet
Author: User
Tags connection pooling xml parser apache log log4j

Hibernate-related jar packages are described in more detail below:

1.Hibernate3.jar (Hibernate's core library, the jar that must be used)

2.Cglib-asm.jar (cglib library, Hibernate uses it to achieve the dynamic generation of PO bytecode, very core libraries, the jar that must be used)

3.Dom4j.jar (dom4j is a Java XML API, similar to Jdom, used to read and write XML files, which is necessary jar,hibernate use it to read and write configuration files, the jar that must be used)

4.Odmg.jar (ODMG is an ORM specification, Hibernate implements the ODMG specification, which is a core library that must be used by the jar)

5.Commons-collections.jar (one of the Apache Commons packages, contains some of the Apache-developed collection classes, features that are more powerful than java.utils.* and must be used by the jar)

6.Commons-beanutils.jar (one of the Apache Commons packages that contains some bean tool classes that must be used by the jar)

7.Commons-lang.jar (one of the Apache Commons packages, containing some data type tool classes, is the extension of the java.lang.*, the jar that must be used)

8.Commons-logging.jar (one of the Apache Commons packages that contains the log function , the jar that must be used. The package itself contains a simple Logger, but the function is very weak. Used with log4j. However, it is strongly recommended to use log4j because of the high performance of log4j. )

These are the jar packages that hibernate must have, and the rest are optional packages

Ant.jar (ant compilation tool jar package, used to compile Hibernate source code, if you are not ready to modify and edit Hibernate source code, it is not useful, optional jar package)

Optional.jar (one of Ant's Auxiliary packages)

C3p0.jar (C3P0 is a database connection pool, hibernate can be configured to use C3P0 connection pool, if you are ready to use this connection pool, you need this jar package)

Proxool.jar (also a connection pool, using the same principle)

Commons-pool.jar Commons-dbcp.jar (DBCP database connection pool, emphasize that if you use Hibernate in EJBs, be sure to use the App server connection pool, do not use the above four connection pools, or the container management transaction does not work)

Connector.jar (JCA specification, if you configure Hibernate to connector on the app server, you need this jar, but in fact the General app server comes with this package, so it's actually an extra package)

Jaas.jar: (Jaas is used for permission validation and is already included in the JDK1.4.) So it's actually an extra bag. )

Jcs.jar: (If you're going to use JCS in Hibernate, you have to include it, otherwise you don't.) )

Jdbc2_0-stdext.jar: (JDBC2.0 expansion pack, generally the database connection pool will use it.) But the app server is always on, so it's redundant. )

Jta.jar: (JTA Specification, when hibernate use JTA, but the app server will be brought, so it is redundant.) )

Junit.jar: (JUnit packages are required when you run Hibernate's own test code, otherwise you don't.) )

Xalan.jar, Xerces.jar, Xml-apis.jar:

(Xerces is an XML parser, Xalan is a formatter, Xml-apis is actually JAXP.) General app Server will bring, JDK1.4 also contains the parser, but not xerces, is crimson, inefficient, but hibernate with XML is just read configuration file, performance is not critical, so is redundant. )

Ant-1.63.jar
http://ant.apache.org/
Ant's core package, which will be used when building hibernate

Antlr-2.7.5h3.jar
http://www.antlr.org/
Language translator, Hibernate uses it for HQL to SQL conversion

Asm.jar/asm-attrs.jar
http://asm.objectweb.org/
ASM Byte Conversion Library

C3p0-0.8.5.2.jar
Http://sourceforge.NET/projects/c3p0
C3PO JDBC Connection Pooling Tool

Cglib-2.1.jar
http://cglib.sourceforge.net/
Efficient code generation tool that Hibernate uses to extend Java classes and implement Java interfaces at runtime

Commons-collections-2.1.1.jar
Http://jakarta.apache.org/commons/collections
Apache's toolset to enhance Java's ability to handle collections


Commons-logging-1.0.4.jar
http://jakarta.apache.org/commons/logging/
Apache Software Base The log tool provided by my group


Concurrent-1.3.2.jar
Http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html
The thread synchronization tool, which needs to be used when using JBoss's tree-like cache

Connector.jar
http://java.sun.com/j2ee/connector/
Standard connector for connecting multiple application servers

Dom4j-1.6.jar
http://dom4.j.org/
DOM4J XML Parser

Ehcache-1.1.jar
Http://sourceforge.Net/projects/echache
Caching tools. This caching tool is essential when no other caching tools are available

Jaas.jar
http://java.sun.com/products/jass/
Standard Java permissions and Authentication Service pack

Jaxen-1.1-beta-4.jar
http:jaxen.org/
General-purpose XPath processing engine

Jboss-cache.jar
Http://www.jboss.com/products/jbosscache
A tree-like cache implementation tool for JBoss

Jboss-common.jar
http://jboss.org/
JBoss base package, which must be available when using JBoss tree cache

Jboss-jmx.jar
http://jboss.org/
The JMX implementation package for JBoss

Jboss-system.jar
http://jboss.org/
The core of JBoss, including the server and deployment engine

Jdbc2_0-stdext.jar
Http://java.sun.com/products/jdbc/download.html#spec
Standard JDBC 2.0 Extension API

Jgroups2.2.7.jar
http://www.jgroups.org/
Network Communication Toolkit

Jta.jar
Http://java.sun.com/products/jta
Standard JAVA Transaction Processing interface

Junit-3.8.1.jar
http://www.junit.org/
JUnit Test Framework

Log4.j-1.2.9.jar
http://logging.apache.org/log4j/
log4j Library, Apache log tool

Oscache-2.1.jar
http://www.opensymphony.com/oscache/
Caching Tools for Java objects

Proxool-0.8.3.jar
http://proxool.sourceforge.net/
Proxool JDBC Connection Pooling Tool

Swarmcache-1.0rc2.jar
http://swarmcache.sourceforge.net/
A caching tool that Hibernate can use

Versioncheck.jar
Version Checker kit for checking the version of the secondary jar package file when building hibernate

Xerces-2.6.2.jar
http://xml.apache.org/xerces2-j/
SAX XML Parser

Xml-apis.jar
http://xml.apache.org/xerces2-j/
Standard XML parser in the Java language

Hibernate Related JAR Package description

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.