You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to figure out how to best use vertx-jersey with Spring as the dependency injection framework. Any ideas how to accomplish this without too much of a hassle?
Perhaps the easiest way is to leverage the existing HK2 spring-bridge and use HK2?
Note that I only want to use Spring for basic dependency injection to port an existing JAXRS application. The idea is not to use Spring MVC etc.
The text was updated successfully, but these errors were encountered:
I was able to integrate with spring dependency injection. First I copied and pasted the AutowiredInjectResolver class from jersey's GitHub into my project. Finally I just added an instance of this Binder to the service locator:
I think that adding these classes to vertx-jersey would make integrating with spring a lot easier but it is probably not worth introducing a dependency on Spring. However, we could also put these classes in a separate library or just add an example.
Hi,
I am trying to figure out how to best use vertx-jersey with Spring as the dependency injection framework. Any ideas how to accomplish this without too much of a hassle?
Perhaps the easiest way is to leverage the existing HK2 spring-bridge and use HK2?
Note that I only want to use Spring for basic dependency injection to port an existing JAXRS application. The idea is not to use Spring MVC etc.
The text was updated successfully, but these errors were encountered: