The Common Java Cookbook



Download free course The Common Java Cookbook, pdf file on 333 pages by Tim O'Brien.
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.

Table of contents

  • Supplements to the Java Platform
  • Manipulating Text
  • JavaBeans
  • Functors
  • Collections
  • XML
  • Application Infrastructure
  • Math
  • Templating
  • I/O and Networking
  • HTTP and WebDAV
  • Searching and Filtering
Pages333
Size3.0 MB
File typePDF
Downloads242
Created2022-02-03
LicenseCC BY-NC-ND
Author(s) Tim O'Brien
Cover of The Common Java Cookbook

Download

  • Basic Programming Concepts

    The objectives of this tutorial are to introduce the fundamental concept of algorithm and the basic concepts of object-oriented programming, use the Java programming language, understand and apply good programming practices and evaluate your programmer skills....

  • Optimizing software in C++

    Download free course Optimizing software in C++, pdf file on 176 pages by Agner Fog....

  • VB.NET Quick Guide

    The purpose of this PDF tutorial is to provide a quick learning guide to programming for the students who wants to buils their own application with Microsoft VB.Net ....

  • Learn Programming

    This book is aimed at readers who are interested in software development but have very lit..., download free Learn Programming tutorial in PDF (465 pages) created by Antti Salonen ....

  • C# programming tutorial for professionals

    Download free C# tutorial course in PDF, training file in 164 chapters and 808 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

  • Introduction to Microsoft SharePoint 2016

    Download a free document of SharePoint 2016, a course in pdf on 64 pages for beginners....

  • Ruby Hacking Guide

    The Ruby Hacking Guide is a book that explains how the ruby interpreter (the official C implementation of the Ruby language) works internally. To fully understand it, you need a good knowledge of C and Ruby. This book is going to investigate ruby as a whole....

  • Raspberry Pi Projects Book

    Download free course Raspberry Pi Projects Book, pdf file on 204 pages by Wes Archer, David Crookes, PJ Evans, Gareth Halfacree, Rosie Hattersley, Nicola King, Ben Nuttall, Marc Scott, Danny Staple, Mark Vanstone....

  • Python Machine Learning Projects

    This book tries to equip the developers of today and tomorrow with tools they can use to better understand, evaluate, and shape machine learning....

  • ADA course in PDF

    Welcome to the Ada Programming tutorial in PDF, training document under 200 pages intended to beginners....