I have legacy app written in Java 7 using Spring 3.2.18 that runs on Karaf 2.4.4 together with Spring-DM. I plan to move to newer versions of Spring, Java and Karaf.
I know that spring-dm is unsupported and I should move to Blueprint, but I'm not sure if I could then load OSGI beans in Spring context like spring-dm does. Does Karaf 2.4.4 supports it?
I would like not to change source code too much and still use @Autowired
as I use right now.
As first step I plan to replace spring-dm with blueprint, next step would be to upgrade Spring 3 to Spring 4. Is it valid approach?