I need to consume an OData4 service from Java and based on the list of frameworks on the [OData website](http://www.odata.org/libraries/) the two choices are [Olingo](https://olingo.apache.org/doc/odata4/index.html) or the [SDL Odata Framework](https://github.com/sdl/odata). My problem is that the documentation for both of these projects are focused on writing a service not consuming one. The Olingo site links to a blog post from 2014 which is not API compatible with the current version and I couldn't find anything on the SDL github pages.

If someone could just provide me with a simple POST / GET example with using a proper POJO object model that would be great.

My limited understanding is that OData moves any information about the actual object model from compile time to runtime on the client. I am happy to ignore this and code against a fixed object model because the service we are using won't change.