Computer ScienceScience & MathematicsEconomics & FinanceBusiness & ManagementPolitics & GovernmentHistoryPhilosophy

The Common Java Cookbook

by Tim O'Brien

The Common Java Cookbook

Subscribe to new books via dBooks.org telegram channel

Join
DescriptionTable of ContentsDetailsHashtagsReport an issue

Book Description

In this book, you'll find information about a set of libraries developed within the Apache Commons (also referred to as "Commons"). Commons is a set of small, popular components which forms a Top-level Project at the Apache Software Foundation. Ranging from the elementary to the complex, many would consider some of these libraries indispensable to any Java project. These components are so widespread, they may already be on your classpath. If you develop an application using Wicket, Maven, Struts, Tomcat, Spring, Hibernate, or any other popular Java library, you likely have Commons Lang and Commons BeanUtils in your classpath. If you just installed Red Hat Enterprise Linux with the default configuration, you've got Commons libraries somewhere in /usr . While Apache Commons may be everywhere, many are still unaware of the capabilities these components provide. This book is an attempt to provide some documentation for these popular components.

This book focuses on tactical implementation details, answering such questions as: How do we parse XML? How do we serialize beans? Is there an easier way to work with Collections? How do we work with HTTP and keep track of cookies? In enterprise software development, the tactical is often sacrificed for the strategic. Consider a complex enterprise-scale system with a solid, well-conceived architecture. The strategic (or high-level) design appears reasonable from 40,000 feet, but as soon as you drill into the details, you notice that every component contains pages upon pages of unmaintainable and unnecessary code because the developers were not aware of some valuable time-saver like BeanUtils, Collections, or the Digester. Or, worse, the developer may have spent a week reimplementing most of the capabilities of Commons BeanUtils even though BeanUtils was already in the classpath. While a familiarity with Apache Commons may not directly affect the architecture of your application, knowing what Apache Commons can do often helps to inform decisions made at the class level.

This open book is licensed under a Creative Commons License (CC BY-NC-ND). You can download The Common Java Cookbook ebook for free in PDF format (3.0 MB).

Table of Contents

Chapter 1
Supplements to the Java Platform
Chapter 2
Manipulating Text
Chapter 3
JavaBeans
Chapter 4
Functors
Chapter 5
Collections
Chapter 6
XML
Chapter 7
Application Infrastructure
Chapter 8
Math
Chapter 9
Templating
Chapter 10
I/O and Networking
Chapter 11
HTTP and WebDAV
Chapter 12
Searching and Filtering

Book Details

Title
The Common Java Cookbook
Subject
Computer Science
Publisher
Self-publishing
Published
2009
Pages
333
Edition
1
Language
English
PDF Size
3.0 MB
License
CC BY-NC-ND

Related Books

Happiness is the Wrong Metric
This timely book addresses the conflict between globalism and nationalism. It provides a liberal communitarian response to the rise of populism occurring in many democracies. The book highlights the role of communities next to that of the state and the market. It spells out the policy implications of liberal communitarianism for privacy, freedom o...
A Common Good Approach to Development
This edited collection proposes a common good approach to development theory and practice. Rather than focusing on the outcomes or conditions of development, the contributors concentrate on the quality of development processes, suggesting that a common good dynamic is key in order to trigger development. Resulting from more than three years of r...
Java Notes for Professionals
The Java Notes for Professionals book is compiled from Stack Overflow Documentation, the content is written by the beautiful people at Stack Overflow....
Sustainable Food Systems
Faced with a global threat to food security, it is perfectly possible that society will respond, not by a dystopian disintegration, but rather by reasserting co-operative traditions. This book, by a leading expert in urban agriculture, offers a genuine solution to today's global food crisis. By contributing more to feeding themselves, cities c...
Learning Java
Java is a class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible. It is an unofficial and free Java ebook created for educational purposes. All the content is extracted from Stack Overflow Documentation, which is written by many hardworking individuals at Stack Overflow....
European Variations as a Key to Cooperation
This free book offers a novel view on the benefits of a lasting variation between the member states in the EU. In order to bring together thirty very different European states and their citizens, the EU will have to offer more scope for variation. Unlike the existing differentiation by means of opt-outs and deviations, variation is not a concession...