Search code examples
odataolingo

Olingo - OData Help needed?


Am pretty new to OData. Per my internet reading what I've gathered is Apache Olingo is better (vs OData4j) for Java implementation of OData service and OData consumer.

Can you please help me with sample code of Olingo service and Olingo consumer?

Any help in this regard is much appreciated.

Have a good one.

Thanks.


Solution

  • First you'll want to consult Olingo's documentation here. Their documentation is alright for basics but once you start extending it there's not much out there. As you can tell from no one answering this for 18 hours OData doesn't seem to be a hot topic right now.

    If you want to create a basic service without JPA this is a good resource: OData Service with Olingo

    If you want to create an OData service that uses JPA this is a good resource: OData JPA Web App. Also this one is helpful Olingo OData with MySQL.

    Here's a document on how to create a client: Olingo Client We actually use Excel as a client which is quite nice for Excel users. However, there are times when Excel has compatibility issues with certain features (EDM Complex Types). Here's some good documentation on how to use Excel and OData