一、Commons BeanUtils
说明:针对Bean的一个工具集。由于Bean往往是有一堆get和set组成,所以BeanUtils也是在此基础上进行一些包装。

二、Commons CLI
说明:这是一个处理命令的工具。比如main方法输入的string[]需要解析。你可以预先定义好参数的规则,然后就可以调用CLI来解析。

三、Commons Codec
说明:这个工具是用来编码和解码的,包括Base64,URL,Soundx等等。用这个工具的人应该很清楚这些,我就不多介绍了。

四、Commons Collections
说明:你可以把这个工具看成是java.util的扩展。

五、Commons Configuration
说明:这个工具是用来帮助处理配置文件的,支持很多种存储方式

六、Commons DBCP
说明:Database Connection pool, Tomcat就是用的这个,不用我多说了吧,要用的自己去网站上看说明。

七、Commons DbUtils
说明:我以前在写数据库程序的时候,往往把数据库操作单独做一个包。DbUtils就是这样一个工具,以后开发不用再重复这样的工作了。值得一体的是,这个工具并不是现在流行的OR-Mapping工具(比如Hibernate),只是简化数据库操作,比如

七1、Commons FileUpload
说明:jsp的上传文件功能怎么做呢?

八、Commons HttpClient
说明:这个工具可以方便通过编程的方式去访问网站。

九、Commons IO
说明:可以看成是java.io的扩展,我觉得用起来非常方便。

十、Commons JXPath
说明:Xpath你知道吧,那么JXpath就是基于Java对象的Xpath,也就是用Xpath对Java对象进行查询。这个东西还是很有想像力的。

十一、Commons Lang
说明:这个工具包可以看成是对java.lang的扩展。提供了诸如StringUtils, StringEscapeUtils, RandomStringUtils, Tokenizer, WordUtils等工具类。

十二、Commons Logging
说明:你知道Log4j吗?

十三、Commons Math
说明:看名字你就应该知道这个包是用来干嘛的了吧。这个包提供的功能有些和Commons Lang重复了,但是这个包更专注于做数学工具,功能更强大。

十四、Commons Net
说明:这个包还是很实用的,封装了很多网络协议。
1. FTP
2. NNTP
3. SMTP
4. POP3
5. Telnet
6. TFTP
7. Finger
8. Whois
9. rexec/rcmd/rlogin
10. Time (rdate) and Daytime
11. Echo
12. Discard
13. NTP/SNTP

十五、Commons Validator
说明:用来帮助进行验证的工具。比如验证Email字符串,日期字符串等是否合法。

十六、Commons Virtual File System
说明:提供对各种资源的访问接口。支持的资源类型包括

1. CIFS
2. FTP
3. Local Files
4. HTTP and HTTPS
5. SFTP
6. Temporary Files
7. WebDAV
8. Zip, Jar and Tar (uncompressed, tgz or tbz2)
9. gzip and bzip2
10. res
11. ram
这个包的功能很强大,极大的简化了程序对资源的访问。

十七、Commons Transaction
说明:提供持久层事务支持

十六、Commons Proxy
说明: 动态代理,拦截器一类的东西

十八、Commons pool
说明: 创建新的对象并初始化的操作,可能会消耗很多的时间。
在需要频繁创建并使用这些对象的场景中,为了提供系统性能,通常的做法是,创建一个对象池,将一定数量的对象缓存到这个对象池中。
需要使用时直接从对象池中取出对象,使用完后将对象扔回到对象池中即可。
Apache的commons pool组件是我们实现对象池化技术的良好助手。

十九、Commons Launcher
说明:创建跨平台可执行程序

二十、Commons Bean Scripting Framework(BSF)
说明:是一个支持在Java应用程序内调用脚本语言 (Script),并且支持脚本语言直接访问Java对象和方法的一个开源项目。有了它 , 你就能在java application中使用javascript, Python, XSLT, Perl, tcl, ……等一大堆scripting language
. 反过来也可以,就是在这些scripting language中调用任何已经注册过了的JavaBean,java object。它提供了完整的API实现通过Java访问脚本语言的引擎。

二十一、Commons chain
说明: 可以在你需要定义和执行一些顺序操作的时候采用Commons Chain。

二十二、Commons Compress
说明: 是一个压缩、解压缩文件的类库。可以操作ar, cpio, Unix dump, tar, zip, gzip, XZ, Pack200 and bzip2格式的文件,功能比较强大

二十三、Commons Discovery
说明: 组件被用以查找可插拔接口的实现实例,它提供了一种通用的实例化这些实现的方式,而且可以管理单例(工厂)的生命周期。

二十四、 commons exec
说明: Apache Commons Exec 是 Apache 上的一个 Java 项目,提供一些常用的方法用来执行外部进程,如下面代码所示:

String line = "AcroRd32.exe /p /h " + file.getAbsolutePath();
CommandLine commandLine = CommandLine.parse(line);
DefaultExecutor executor = new DefaultExecutor();
executor.setExitValue(1);
ExecuteWatchdog watchdog = new ExecuteWatchdog(60000);
executor.setWatchdog(watchdog);
int exitValue = executor.execute(commandLine);

二十五、commons jelly
说明:Jelly能够把XML转换成可执行代码,所以Jelly是一个基于XML与Java的脚本和处理引擎。 Jelly借鉴了JSP定指标签,Velocity, Cocoon和Xdoclet中的脚本引擎的许多优点。Jelly可以用在命令行,Ant或者Servlet之中

 摘录:

Apache Commons工具集简介 http://www.cnblogs.com/jackyrong/archive/2006/10/15/529599.html

apache 和 卡车的区别: apache是一辆卡车,上面可以装一些东西如html等。但是不能装水,要装水必须要有容器(桶),而这个桶也可以不放在卡车上。(虽然不太适合放在这里,但是懒一把)。

Components Description Latest Version Released
BCEL Byte Code Engineering Library - analyze, create, and manipulate Java class files 5.2 2006-06-07
BeanUtils Easy-to-use wrappers around the Java reflection and introspection APIs. 1.9.2 2014-05-29
BSF Bean Scripting Framework - interface to scripting languages, including JSR-223 3.1 2010-24-06
Chain Chain of Responsibility pattern implemention. 1.2 2008-06-02
CLI Command Line arguments parser. 1.3.1 2015-06-17
Codec General encoding/decoding algorithms (for example phonetic, base64, URL). 1.10 2014-11-09
Collections Extends or augments the Java Collections Framework. 4.1 2015-11-27
Compress Defines an API for working with tar, zip and bzip2 files. 1.12 2016-06-21
Configuration Reading of configuration/preferences files in various formats. 2.0 2016-03-24
Crypto A cryptographic library optimized with AES-NI wrapping Openssl or JCE algorithm implementations. 1.0 2016-??-??
CSV Component for reading and writing comma separated value files. 1.4 2016-05-28
Daemon Alternative invocation mechanism for unix-daemon-like java code. 1.0.15 2013-04-03
DBCP Database connection pooling services. 2.1.1 2015-08-06
DbUtils JDBC helper library. 1.6 2014-07-20
Digester XML-to-Java-object mapping utility. 3.2 2011-12-13
Discovery Tools for locating resources by mapping service/reference names to resource names. 0.5 2011-05-05
EL Interpreter for the Expression Language defined by the JSP 2.0 specification. 1.0 2003-06-18
Email Library for sending e-mail from Java. 1.4 2015-05-23
Exec API for dealing with external process execution and environment management in Java. 1.3 2014-11-06
FileUpload File upload capability for your servlets and web applications. 1.3.2 2016-05-26
Functor A functor is a function that can be manipulated as an object, or an object representing a single, generic function. 1.0 2011-??-??
Imaging (previously called Sanselan) A pure-Java image library. 0.97-incubator 2009-02-20
IO Collection of I/O utilities. 2.5 2016-04-21
JCI Java Compiler Interface 1.1 2013-10-14
JCS Java Caching System 1.3 2007-06-11
Jelly XML based scripting and processing engine. 1.0 2005-06-16
Jexl Expression language which extends the Expression Language of the JSTL. 3.0 2015-12-27
JXPath Utilities for manipulating Java Beans using the XPath syntax. 1.3 2008-08-14
Lang Provides extra functionality for classes in java.lang. 3.4 2015-04-06
Launcher Cross platform Java application launcher. 1.1 2004-08-22
Logging Wrapper around a variety of logging API implementations. 1.2 2014-07-11
Math Lightweight, self-contained mathematics and statistics components. 3.5 2015-04-17
Modeler Mechanisms to create Model MBeans compatible with JMX specification. 2.0.1 2007-06-25
Net Collection of network utilities and protocol implementations. 3.5 2016-05-05
OGNL An Object-Graph Navigation Language 4.0 2013-??-??
Pool Generic object pooling component. 2.4.2 2015-08-01
Proxy Library for creating dynamic proxies. 1.0 2008-02-28
SCXML An implementation of the State Chart XML specification aimed at creating and maintaining a Java SCXML engine.
It is capable of executing a state machine defined using a SCXML document, and abstracts out the environment interfaces.
0.9 2008-12-01
Validator Framework to define validators and validation rules in an xml file. 1.5.1 2016-04-30
VFS Virtual File System component for treating files, FTP, SMB, ZIP and such like as a single logical file system. 2.1 2016-05-12
Weaver Provides an easy way to enhance (weave) compiled bytecode. 1.2 2016-02-02

转载于:https://www.cnblogs.com/andysylar/p/5670828.html

java Apache Commons jar包简介相关推荐

  1. 初识 Apache Commons jar 包

    长篇预警 ,要有耐心才能看下去 1.1. 开篇 在Java的世界,有很多(成千上万)开源的框架,有成功的,也有不那么成功的,有声名显赫的,也有默默无闻的.在我看来,成功而默默无闻的那些框架值得我们格外 ...

  2. java org.apache.http_org.apache.http jar包下载-org.apache.http.jar包下载 --pc6下载站

    org.apache.http.jar包是一款十分常用的jar包如果没有org.apache.http.jar包Apache与http的链接将会出现错误等现象马上下载org.apache.http.j ...

  3. java jsonobject的包_java_JSONObject与JSONArray的使用,1.JAR包简介要使程序可以运 - phpStudy...

    JSONObject与JSONArray的使用 1.JAR包简介 要使程序可以运行必须引入JSON-lib包,JSON-lib包同时依赖于以下的JAR包: 1.commons-lang.jar 2.c ...

  4. (转)Apache Commons工具集简介

    (转)Apache Commons工具集简介 Apache Commons包含了很多开源的工具,用于解决平时编程经常会遇到的问题,减少重复劳动.我选了一些比较常用的项目做简单介绍.文中用了很多网上现成 ...

  5. java开发常用jar包_java开发常用jar包

    mail.jar与activation.jar 里面包含了activation.jar和mail.jar两个包.通过里面的类的调用便可以达到发送电子邮件的目的 commons-beanutils.ja ...

  6. Java常用开源jar包

    Java常用开源jar包 转:http://blog.csdn.net/kevingao/article/details/8125683 activation~与javaMail有关的jar包,使用j ...

  7. java项目打jar包

    http://www.cnblogs.com/tianguook/archive/2012/03/14/2396335.html java项目打jar包分为2种情况: 一.java项目没有导入第三方j ...

  8. Eclipse中将java类打成jar包形式运行

    记录一次帮助小伙伴将java类打成jar包运行 1.创建java project项目 file > new > project > java project 随便起一个项目名称,fi ...

  9. idea 执行 java jar_idea打包java可执行jar包的实现步骤

    1,在项目上鼠标右键 --> Open Module Settings 2, Artifacts --> + --> JAR --> From modules with dep ...

最新文章

  1. 抽象类可以有构造函数吗
  2. 一起谈.NET技术,在Mono 2.8上部署ASP.NET MVC 2
  3. 可以使任何人获得管理员权限的Windows 10系统漏洞
  4. helm部署SkyWalking
  5. centos7每天定时删除备份mysql文件
  6. 找不到 快速启动 ,怎么办
  7. Integer与int的种种比较你知道多少?[转]
  8. python文件读写小结
  9. hadoop概念介绍
  10. 写磁盘太慢导致服务超时问题分析
  11. jq post 表单提交文件_Power Query 中使用POST方法进行网络抓取的尝试
  12. BlackBerry 应用程序开发者指南 第一卷:基础--第9章 IT策略(Policy)
  13. 浮点型变量的误差问题
  14. VC6.0多行注释快捷键的设置
  15. C语言 平面向量加法
  16. 想去力扣当前端,TypeScript 需要掌握到什么程度?
  17. (尚硅谷项目代码)java基础----家庭记事本
  18. CF-1200D White Lines(前缀和来两发么小老弟?)
  19. SpringBoot使用拦截器实现Restful URL权限拦截
  20. 监控工具(nmon)下载及使用方法

热门文章

  1. mysql分组和where条件查询_【MySQL】:分组查询where和having
  2. linux数据库什么意思,Linux系统中的数据库命令是什么
  3. python字符串常量_python教程---字符串常量ascii_letters、punctuation、digits、whitespace等...
  4. 怎么修改php.in的时间,melongin怎么设置
  5. c 应用程序多语言版本,c – 在win32 API应用程序中实现全球化/多语言功能
  6. fire.php,Fire PHP
  7. 【数据库】兴唐第二十六节课作业
  8. root 123 mysql_MySQL常用命令
  9. UIImage存为本地文件与UIImage转换为NSData
  10. 精通Spring Boot —— 第十五篇:使用@ControllerAdvice处理异常