Jakarta Commons經(jīng)典實(shí)例

出版時(shí)間:2005-6  出版社:江蘇東南大學(xué)  作者:奧布賴恩  頁(yè)數(shù):377  
Tag標(biāo)簽:無(wú)  

內(nèi)容概要

長(zhǎng)期以來(lái),Java一直承諾向開(kāi)發(fā)人員提供可重用、模塊化和可移植的特性。要實(shí)現(xiàn)上層的軟件結(jié)構(gòu)開(kāi)發(fā)者可對(duì)已有的框架和組件進(jìn)行擴(kuò)展,或按需定制,而無(wú)需從最底層的細(xì)節(jié)開(kāi)始。一個(gè)典型的例子就是萬(wàn)維網(wǎng)聯(lián)盟(W3C)定義的DOM接口。應(yīng)用程序開(kāi)發(fā)人員很少會(huì)去編寫(xiě)一個(gè)自己的XML解析器,但他們常常編寫(xiě)自己的組件,而這些組件的功能在一些自由軟件庫(kù)中已經(jīng)實(shí)現(xiàn)了,只是開(kāi)發(fā)者們不知道這些開(kāi)源組件的存在罷了。本書(shū)采用O'Reilly經(jīng)典實(shí)例系列叢書(shū)中慣用的問(wèn)題-求解模式概述了可供使用的軟件庫(kù)以解決上述問(wèn)題。這里僅列出部分本書(shū)所涵蓋的Commons項(xiàng)目和組件:    * 對(duì)核心Java語(yǔ)言的擴(kuò)展,包括字符串和日期操作、字符串編碼和參數(shù)驗(yàn)證    * 對(duì)XML的支持,從解析、文檔生成到使用搜索引擎索引XML文檔所需的XPath     * 模板化框架使你能夠超越JSP的基本功能,不僅Web頁(yè)面,甚至XML文件或者電子郵件都能夠進(jìn)行模板化    * 使用FTP、SMTP、POP、NNTP、特別是HTTP和WebDAV等功能所需的工具    * 使用Functor進(jìn)行編程的新方法,包括使用predicate、closure、transformer和functor(替換控制結(jié)構(gòu),如for和while)    * 新的collection和collection工具,包括LRU Map、predicated collection、適用于Java 1.4的typed collection、filtering iterator和set操作    * 對(duì)JavaBean的擴(kuò)展,從bean到map的轉(zhuǎn)換至序列化bean為XML字符串    * 提供對(duì)矩陣、復(fù)數(shù)、線性回歸支持的新數(shù)學(xué)工具庫(kù)    * 對(duì)Jakarta Commons組件和Maven、Ant協(xié)同使用的指導(dǎo)    * 日志、編碼和對(duì)象池(object pools)    僅僅了解一兩個(gè)有用的工具類是不夠的,您必須意識(shí)到做出不同選擇的可能,并對(duì)所選技術(shù)的全景有所了解。如果您希望能夠擺脫令人手忙腳亂的編程方法并熟練掌握J(rèn)ava這門語(yǔ)言,《Jakarta Commons經(jīng)典實(shí)例》正是您所需要的工具。

作者簡(jiǎn)介

作者:(美國(guó))奧布賴恩

書(shū)籍目錄

Preface1.  Supplements to the Java 2 Platform   1.1 Obtaining Commons Lang   1.2 Joining the Commons-User Mailing List   1.3 Getting the Commons Lang Source Code   1.4 Automating the Generation of toString()Content   1.5 Customizing Generated toString()Content   1.6 Automating hashCode()and equals()  1.7 Automating compareTo()  1.8 Printing an Array   1.9 Cloning and Reversing Arrays   1.10 Transforming Between Object Arrays and Primitive Arrays   1.11 Finding Items in an Array   1.12 Creating a Map from a Multidimensional Array   1.13 Formatting Dates   1.14 Rounding Date Objects   1.15 Truncating Date Objects   1.16 Creating an Enum   1.17 Generating Unique Numeric Identifiers   1.18 Validation of Method Parameters   1.19 Measuring Time 2. Manipulating Text   2.1 Setting Up StringUtils and WordUtils   2.2 Checking for an Empty String   2.3 Abbreviating Strings   2.4 Splitting a String   2.5 Finding Nested Strings   2.6 Stripping and Trimming a String   2.7 Chomping a String   2.8 Creating an Emphasized Header   2.9 Reversing a String   2.10 Wrapping Words   2.11 Testing the Contents of a String   2.12 Measuring the Frequency of a String   2.13 Parsing Formatted Strings   2.14 Calculating String Difference   2.15 Using Commons Codec   2.16 Getting the Commons Codec Source Code   2.17 Calculating Soundex 3. JavaBeans   3.1 Representing Beans Graphically   3.2 Obtaining Commons BeanUtils   3.3 Getting the Commons BeanUtils Source Code   3.4 Accessing Simple Bean Properties   3.5 Accessing Nested Bean Properties   3.6 Accessing Indexed Bean Properties   3.7 Accessing Mapped Bean Properties   3.8 Accessing a Simple,Nested,Indexed,and Mapped Bean Property   3.9 Determining the Type of a Bean Property   3.10 Comparing Beans   3.11 Copying Bean Properties   3.12 Cloning a Bean   3.13 Setting a Bean Property   3.14 Testing Property Access   3.15 Validating Beans with Predicates   3.16 Creating a Map of Bean Properties   3.17 Wrapping a Bean with a Map   3.18 Creating a Dynamic Bean   3.19 Getting and Setting Properties as Strings 4. Functors 5. Collections 6. XML 7. Application Infrastructure 8. Math 9. Templating 10. I/O and Networking11. HTTP and WebDAV 12. Searching and Filtering Index

編輯推薦

僅僅了解一兩個(gè)有用的工具類是不夠的,您必須意識(shí)到做出不同選擇的可能,并對(duì)所選技術(shù)的全景有所了解。本書(shū)采用O’Reilly經(jīng)典實(shí)例系列叢書(shū)中慣用的問(wèn)題——求解模式概述了可供使用的軟件庫(kù),如果您希望能夠擺脫令人手忙腳亂的編程方法并熟練掌握J(rèn)ava這門語(yǔ)言,那么本書(shū)正是您所需要的工具。

圖書(shū)封面

圖書(shū)標(biāo)簽Tags

無(wú)

評(píng)論、評(píng)分、閱讀與下載


    Jakarta Commons經(jīng)典實(shí)例 PDF格式下載


用戶評(píng)論 (總計(jì)2條)

 
 

  •   都是些很老的東西了
  •   有些介紹的內(nèi)容已經(jīng)過(guò)時(shí)了,不過(guò)有關(guān)commons-lang, commons-beans,commons-collections的內(nèi)容是最有用也是最好的。
 

250萬(wàn)本中文圖書(shū)簡(jiǎn)介、評(píng)論、評(píng)分,PDF格式免費(fèi)下載。 第一圖書(shū)網(wǎng) 手機(jī)版

京ICP備13047387號(hào)-7