《Pro Jakarta Commons》
下载网址:
Apress,.Pro.Jakarta.Commons.(2004).LiB.chm [517.5 Kb]
Jakarta Commons是Jakarta的子项目,它创建和维护着许多独立软件包,这些包一般与其他框架或产品无关,其中收集了大量小型、实用的组件,大部分面向服务器端编程。
Commons的包分成两部分:Sandbox,Commons代码库。Sandbox是一个测试平台,用来检验各种设想、计划。本文介绍的组件属于Commons代码库,文章将展示各个组件的功能、适用场合,并通过简单的例子介绍其用法。
可重用性是Jakarta
Commons项目的灵魂所在。这些包在设计阶段就已经考虑了可重用性问题。其中一些包,例如Commons里面用来记录日志的Logging包,最初是
为其他项目设计的,例如Jakarta
Struts项目,当人们发现这些包对于其他项目也非常有用,能够极大地帮助其他项目的开发,他们决定为这些包构造一个"公共"的存放位置,这就是
Jakarta Commons项目。
作者简介
Harshad Oak has been involved with J2EE projects for several years. He holds a master's degree in computer management and is both a Sun Certified Java Programmer and a Sun Certified Web Component Developer. Harshad has worked primarily with JSP, Servlet, EJB, and web publishing frameworks, while using a range of modeling and middleware tools along the way. The projects he has worked with have been in the payment solutions and insurance industries内容介绍:
Jakarta Commons are easily reusable components that can quickly be put to good use in any server-side Java development undertaking. In fact, components are not big applications, but sleek code bits that perform specific tasks very well. This book provides much-needed documentation and usage information about the popular sub-projects forming Jakarta Commonsso that you can efficiently incorporate them into Java applications.
Jakarta Commons have potential to extend the core functionality of the Java language (the Lang sub-project), and they can provide a Validation framework (Validator) and a database connection pool (Pool). Jakarta Commons can even manipulate XML and JavaBeans in a more intuitive and pragmatic fashion.
Table of Contents
- Introducing Jakarta Commons: The Uncommon Commons
- Using the Lang Component
- Using the Logging Component
- Using the Validator Component
- Using the BeanUtils Component
- Implementing Pooling
- Using the Digester Component
- Using Collections and Primitives
- Using HttpClient and FileUpload
- Using the Net Component
- Using Other Commons Components