Any advice for creating an OData interface via Cuba?

Hi:

I am looking to interface an Oracle database to Salesforce. Salesforce uses an Odata 2.0 or 4.0 connector, but of course Oracle does not implement one. I have to build something to sit in between.

Since Cuba has a REST interface built in, has anybody done anything to create an Odata interface?

There are java projects (Apache Olingo, odata4j, etc.) that may do the job, but I have not researched them yet. I don’t want to re-invent the wheel.

Any advice?

I did a little work n this myself. The biggest issue I see is that I need to declare the Odata code as a servlet. I somehow need this servlet to run on top of the REST servlet you have already created, so that I get the same OAuth capabilities.

Does anybody have any advice on how to do this?

Hi,

Can you implement this integration as Spring MVC controller? Is it required to use an additional servlet? Here you will find how to implement custom Spring MVC controller protected by standard OAuth security: Creating Custom OAuth2 Protected Controllers - CUBA Platform. Developer’s Manual