hi all
I've been trying to use Spring Boot + Jax-rs (on Jersey) + Olingo
annotations (v2), and I've managed to get everything to work with in-memory
datasource (very cool btw!)
My overall purpose would be to then route all the inbound OData calls to
Spring Data Repositories (call it an Olingo version of Spring-data-rest)
However, the current approach forces me to provide the class name of my
service factory to the servlet mapped to my odata endpoint as
init-parameter, key = org.apache.olingo.odata2.service.factory.
This implies that the servlet will not use spring injection to get the
bean, but something more like reflection.
Unfortunately, this means I lose all benefits of spring from that point
onwards.
I've noticed that there's an olingo extension aimed at spring, so my guess
is that it could overcome this limitation.
I've got the sources, but I'm not fully sure about how odata2-spring could
be used.
I'd be grateful if anyone could clarify and/or point out if maybe I'm
totally off-track

thanks a lot, regards
Vincenzo

Reply via email to