[
https://issues.apache.org/jira/browse/OLINGO-193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14255819#comment-14255819
]
Michael Bolz commented on OLINGO-193:
-------------------------------------
Hi [~lior.okman],
because I'am not so familiar with Spring and the issue reported by
[~jpenninkhof] is initial reported in march I have some questions.
Is it necessary to for your use case to use the {{CXFServlet}} with
{{spring.ODataRootLocator}} or would the use of {{ODataServlet}} (without CXF)
also be a solution?
For a quick example I created a simple project which use the
_ReferenceScenario_ in combination with _Spring Boot_:
https://github.com/mibo/olingo2-spring
In this I just register the {{ODataServlet}} and set necessary parameters.
Kind regards,
Michael
> Olingo on Spring implementation scenarion
> -----------------------------------------
>
> Key: OLINGO-193
> URL: https://issues.apache.org/jira/browse/OLINGO-193
> Project: Olingo
> Issue Type: New Feature
> Components: odata2-core
> Environment: Spring
> Reporter: Jan Penninkhof
> Assignee: Michael Bolz
> Priority: Minor
> Labels: spring
> Attachments: move-up.diff, root-locator-reuse.diff,
> spring-core-olingo.diff, spring.diff, unittests.diff
>
>
> Currently only a imlementation scenario using CXFNonSpringJaxrsServlet is
> provided. However, to implement OLingo while bootstrapping Spring at the same
> time, this scenario won't work. Instead probably CXFServlet should be used
> instead.
> However, CXFServlet has quite a different API and Olingo currently doesn't
> have wiring to that API.
> It would be excellent if there would be a version of Olingo that could work
> in a Spring environment as well, e.g. to allow for reuse of existing Spring
> components.
> Please also refer to a discussion on this topic in the mail-archive:
> https://www.mail-archive.com/[email protected]/msg02186.html
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)