Struts + spring + hibernate jar package

Source: Internet
Author: User
Tags xml parser jboss

Hibernate

 

Hibernate3.jar: this is the core jar package of hibernate3.0. It is required. Oh, no choice. For example, the common sessions, queries, and transactions are all in this jar file.

Cglib-2.1.3.jar, cglib library, Hibernate use it to realize dynamic generation of Po bytecode, very core library, necessary.

ASM. Jar ASM bytecode library is required if "cglib" is used.

Asm-attrs.jar ASM bytecode library is required if "cglib" is used

The ehcache. Jar ehcache cache is required if there is no other cache.

Anlr. Jar another tool for language recognition is a tool and is required

The JTA. Jar JTA specification is required when hibernate uses JTA, but it is redundant because it is included in the app server. However, we recommend that you use this feature for testing convenience. Required

One of the commons-logging.jar Apache commons packages contains the logging feature, a jar package that must be used. Required

One of the commons-collections.jar Apache commons packages contains some collection classes developed by Apache, which are more powerful than Java. util. Required

Dom4j is a Java xml api, similar to JDOM, used to read and write XML files. Hibernate uses it to read and write configuration files. Required

The above is the core jar package of hibernate, which is required to configure the SSH architecture. The following are optional.

Versioncheck. Jar version check is optional.

Swarmcache. jar is optional.

Jboss-cache.jar treecache (optional)

Jgroups. jar is optional.

Xalan. jar, xerces. jar, xml-apis.jar xerces is the XML parser, xalan is the formatter, XML-APIS is actually JAXP. Generally, app server will be taken, and jdk1.4 also contains a parser, but it is not xerces, but crimson, which is less efficient. However, Hibernate uses XML to only read configuration files, and its performance is not important, so it is redundant. Optional

C3p0-0.9.1.jar c3p0 is a database connection pool, Hibernate can be configured to use c3p0 connection pool. If you want to use this connection pool, you need this jar package.

Optional

Connector. jar jca api. If you configure hibernate as connector on the app server, you need this jar. However, in fact, the app server will definitely carry this package, which is also a redundant package. Optional

Jboss-system.jar (optional)

Optional when jboss-system.jar uses treecache

Jacc-1_0-fr.jar jacc library optional

Checkstyle-all.jar (optional)

The test unit of JUnit. jar is optional.

Optional; optional

Ant-lanuncher.jar (optional)

JAAS. Jar jaas api is used for permission verification and is already included in jdk1.4. Therefore, it is actually a redundant package (optional)

Jdbc2_0-stdext.jar JDBC extension API, in general, the database connection pool will use it, but the app server will carry, so it is redundant. Optional

Ant-antlr.jar ant anlr support optional

Jboss-jmx.jar (optional)

Cleanimports. Jar cleanimports (optional)

Xerces. Jar SAX Parser: required when JDK version is earlier than 1.4

Jaxen-1.1-beta-7.jar jaxen use optional if you want to improve Startup Performance

Ant-junit.jar ant JUnit support (optional)

Ant swing support ant-swing.jar

The jar package of the ant. Jar ant compilation tool. Optional.

The proxool. Jar proxool JDBC connection pool is optional.

Concurrent. Jar required to use treecache

Syndiag2.jar is optional.

Commons. Collections. jar, commons-pool.jar, commons-dbcp.jar DBCP database connection pool, Apache Jakarta organization development, Tomcat connection pool is DBCP.

 

Spring jar package

Spring. jar is a single jar package that contains a complete release module. But does not include mock. jar, aspects. jar, spring-portlet.jar, and spring-hibernate2.jar.

Except spring. JAR file. Spring also includes 21 other independent jar packages, each containing the corresponding spring components. You can select a combination based on your own needs without introducing the entire spring. jar.

Spring-core.jar this jar file contains the basic Spring framework core tool class. Other components of spring must use the class in this package, which is the basic core of other components. Of course, you can also use these tool classes in your own system. External dependencies (Commons logging, log4j)

Spring-beans.jar this jar file is used by all applications, it contains access to the configuration file, create and manage beans and conduct inversion of control/dependency (IOC/di) all operation-related classes. If the application only requires basic IOC/di support, introduce spring-core.jar and spring-beans.jar files.

The spring-aop.jar jar package contains support for class and source code-level metadata required to use spring's AOP features in applications. Use the spring features based on AOP, such as declarative transaction management, to include the jar package in the application. External dependencies (spring-core, spring-bean, AOP alliance, cglib, commons attributes ).

The jar file spring-context.jar provides a lot of extensions for the spring core, you can find all the classes required for the spring applicationcontext feature, all the classes required for JNDI, instrumentation components and related classes for validation. The external dependency is spring-beans and spring-AOP.

Spring-dao.jar this jar file contains all the classes of spring Dao, Spring transaction for data access, in order to use declarative transaction support, you also need to include spring-aop.jar external dependency spring-core in your own application, spring-AOP, spring-context, jta api.

Spring-jdbc.jar this jar file contains all the classes spring encapsulates for JDBC data access. The external dependency is spring-beans and spring-Dao.

Spring-support.jar this jar file contains support for UI templates (velocity, freemarker, jsperreports, bsh, groovy, jruby, quartz, ehcache)

Spring-web.jar this jar file contains web application development, the use of Spring framework required core class, including automatic loading of Web application context features of the class, Struts and JSF integration class, file upload support class, filter class and a large number of auxiliary tools. The external dependency is spring-context, Servlet API, (jsp api, jstl, commons fileupload, cos ).

Spring-webmvc.jar this jar file contains all classes related to the spring MVC framework. Includes the framework Servlets, Web MVC Framework, controller and view support. Of course, if your application uses an independent framework, you do not need any classes in the jar file. External dependencies include spring-web, Sping-support, tiles, itext, and poi.

Spring-portlet.jar spring implements a framework similar to spring MVC, including an MVC framework and a controller. External Dependency on spring-web, Portlet API, spring-webmvc.

Spring-struts.jar Struts framework support, can be more convenient and easier to integrate Struts framework, external dependency spring-web, struts.

Spring-remoting.jar this jar package supports EJB, remote call remoting (RMI, hession, burlap, HTTP invoker, JAX-RPC) class. External Dependency spring-AOP, spring-context, spring-web, Hessian, burlap, JAX-RPC, ejb api ).

Spring-jmx.jar this jar package provides a support class for jmx1.0/1.2. External dependencies include spring-beans, spring-AOP, and JMX APIs.

Spring-jms.jar this jar package provides a support class for jms1.0.2/1.1.

Spring-jca.jar this jar package provides support for jca1.0.

Spring-jdo.jar this jar package provides support for jdo1.0/2.0.

Spring-hibernate2.jar support for hibernate2.1 is no longer recommended

Spring-hibernate3.jar support for hibernate3.0/3.1/3.2

Spring-toplink.jar support for toplink framework

Spring-ibatis.jar support for ibatis SQL maps.

The other two packages

Spring-mock.jar this jar file contains spring a set of mock classes to assist in application testing. The Spring Test Suite uses a large number of mock classes, making testing easier. It is convenient to simulate the httpservletrequest and httpservletresponse classes in Web application unit testing. And provides support for JUnit. External Dependency
The spring-aspects.jar provides support for aspectj to easily integrate aspect-oriented functions into the IDE.

 

Struts1.2 package introduction:

Commons-digester.jar digester rules-based XML document Parsing is mainly used for XML-to-Java object ing (used to process struts-config.xml configuration files to achieve the ability to generate corresponding objects through XML ).

Commons-beanutils.jar provides packaging for Java reflection and introspection APIs.

The struts verification framework depends on the following two packages:

Commons-validator.jar (verification method) and validation rules support validation rules and international error messages. Struts uses it to verify the form.

Jakarta-oro.jar a set of text processing tools that provide perl5.0 Compatible Regular Expressions awk-like regular expressions, glob expressions. It also provides functions such as replacement, segmentation, and file name filtering.

Struts. Jar struts core jar package

Anlr. jar can accept the description of the syntax language and generate programs that recognize the statements in these languages.

 

Introduction to struts2.1.6jar package

The core jar package of struts2-core-2.1.6.jar struts2.

Freemarker-2.3.13.jar freemarker is struts2 default template Language

Commons-logging-1.0.4.jar

Ognl-2.6.11.jar struts2 default expression language ognl: Object graphical navigation Language

Xwork-2.1.2.jar is also the core package of struts2, after all, a lot of struts2 is from webwork

Commons-io.jar (note this is different from version 2.0.x, even if you don't upload files this is also needed)

Commons-fileupload-1.2.1.jar (note that this is different from version 2.0.x, even if you don't upload the file that is needed ).

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.