The Google APIs Client Library for Java is a flexible, efficient, and powerful Java client library for accessing any HTTP-based API on the web, not just Google APIs.
The library has the following features:
A powerful OAuth 2.0 library with a consistent interface.
Lightweight, efficient XML and JSON data models that support any data schema.