An OData framework for Java
// create consumer instance
String serviceUrl = "http://services.odata.org/OData/OData.svc/";
ODataConsumer consumer = ODataConsumers.create(serviceUrl);
// list category names
for (OEntity category : consumer.getEntities("Categories").execute()) {
String categoryName = category.getProperty("Name", String.class).getValue();
System.out.println("Category name: " + categoryName);
}