The role of some jars

Source: Internet
Author: User
Tags file upload log4j

By chance, make a record


The process of sending a project, often need to use a write jar package, now on one of the role of the jar, do a summary, but also to avoid less lead or more than a jar package, welcome to Add. Thank you.

1.apache of a write jar

Commons-collections.jar:
One of the Apache Commons packages contains some collection classes developed by Apache that are more powerful than java.util.*.

Commons-beanutils.jar:
One of the Apache Commons packages that contains some Bean tool class classes.

Commons-lang.jar:
One of the Apache Commons packages, which contains some data type tool classes, is an extension of the java.lang.*.

Log4j-1.2.15.jar

Currently the most widely used log controls can be configured with file Log4j.properties to use together, through configuration file configuration log output, output style and so on.

Commons-logging.jar:
A member of the Apache Commons package, the Apache Commons Class library is a general-purpose class library that provides basic functionality such as Commons-fileupload, Commons-id, Commons-codec, and so on.

Commons-logging is able to choose whether to use log4j or JDK Logging, but does not rely on the log4j, JDK Logging APIs. If the project's classpath contains a log4j class library, use log4j, or use JDK Logging. With commons-logging, you have the flexibility to choose which logs to use without having to modify the source code.

The use of commons-logging is similar to that of Log4j, whose level and use rules are exactly the same.

If there is a log4j,commons-logging will give the output intact to log4j, if not the corresponding output into the JDK logging output. By default, Commons-logging automatically checks to see if log4j is being used. You can also use a configuration file to explicitly enable log4j. Configure the price for commons-logging.properties, put it under classpath.

Commons-dbcp.jar:
DBCP database Connection pool, Apache Jakarta organization developed, TOMCAT4 connection pool is also dbcp.

Commons-fileupload.jar

File Upload function.

Commons-httpclient-3.1.jar

Gets the functionality of the HTTP request parameter.

Commons-io-1.3.2.jar

IO data stream read/write function.

Velocity-1.5.jar

The jar required to use the velocity template.

Ant.jar

The project hand packs the jar required for the release.

A write jar associated with spring

Spring.jar

Core, necessary.

Spring-webmvc.jar

The jar that is necessary to use Spring web MVC

Struts2-spring-plugin-2.1.6.jar

Strtus2 the jars needed to integrate with spring

Struts2 associated with a write jar

Struts2-core-2.1.6.jar

Core, necessary.

The jar associated with the hibernate

Hibernate3.jar core jar, required.

Freemarker-2.3.13.jar

Looks like it's what hibernate needs.

Cglib.jar:
Cglib Library, Hibernate uses it to realize the dynamic generation of PO byte code, very core library, must use JAR package

Other one write jar

Dom4j-1.6.1.jar

Java parses an XML file.

Jta.jar

Java JTA Specification

Antlr.jar

A tool for ANTLR language recognition (ANother Tool for Language recognition) is a language tool that provides a framework for constructing language recognizers through syntax descriptions that contain Java, C + +, or C # actions (action), The translator and interpreter.

See: http://www.ibm.com/developerworks/cn/java/j-lo-antlr/index.html?ca=drs-

Json-lib-2.2.3-jdk15.jar

Java parses the jar required by JSON.

Mysql.jar

Needless to say, MySQL database is required.

Ojdbc14_g.jar

Oracal required for the database.

Pushlet.jar

Service backstage push so must the jar.

Poi-3.6-20091214.jar

Poi-contrib-3.6-20091214.jar

Poi-ooxml-3.6-20091214.jar

Poi-ooxml-schemas-3.6-20091214.jar

Poi-scratchpad-3.6-20091214.jar

Use POI to resolve the necessary jars for generating Excel files, and so on.

Registry.jar

The jar required by the Java Operations Registry

Sitemesh-3.0-alpha-1.jar

Foreground code utilizes the jar required by the adorner

The function of which said very fanfan, but also more one-sided, welcome everyone to add, sometimes think, if the source of these jar bag research through, seemingly also very n, but just think about it, look at the Ching.

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.