Jakarta Commons Cookbook - (Chinese Version)

Author: (USA) O'Reilly
Publisher:
Publish Date: 2006-11-01
Features: Java has always promised to provide developers with reusable, modular, and portable features. Developers don't need to build from scratch but can extend existing frameworks and components or customize them as needed. A typical example is the DOM interface defined by the World Wide Web Consortium (W3C). Application developers rarely write their own XML parsers, but they often write their own components, and the functionality of these components has already been implemented in free software libraries—though developers may not be aware of the existence of these open-source components. This book adopts the "problem-solution" model common to the O'Reilly Cookbook series, outlining available software libraries to serve as a bridge for developers to use these tools. Here are only some of the Commons projects and components covered in this book:
● Extensions to the core Java language, including string and date operations, string encoding, and parameter validation
● Support for XML, from parsing and document generation to XPath for indexing XML documents with search engines
● Templating frameworks that allow you to go beyond the basic functionality of JSP, enabling templating not only web pages but also XML files or emails
● Tools for using FTP, SMTP, POP, NNTP, and especially HTTP and WebDAV
● A new approach to programming with functors, including using Predicate, Closure, Transformer, and Functor to replace control structures like for and while
● New Collections and Collection utilities, including LRUMap, PredicatedCollection, TypedCollection for Java 1.4, FilteringIterator, and set operations
● Extensions to JavaBeans, from converting beans to maps to serializing beans as XML strings
● A new mathematical tool library providing support for matrices, complex numbers, and linear regression
● Guidance on Jakarta Commons components and their use with Maven and Ant
● Logging and encoding
It's not enough to know just one or two useful utility classes; you must be aware of other possibilities and understand the background of the technology you choose. If you want to the chaotic programming approach and master the Java language, this book is the tool you need. The book covers topics such as: extending the J2SE platform, handling files, JavaBeans, functors, Collections, XML, application infrastructure, Math, templates, I/O and networking, HTTP and WebDAV, search and filtering, and more.

📌 Related Posts