Can Spring Boot be used with OSGi? If not, any plans to have an OSGi Spring Boot?
问题 Can Spring Boot be used with OSGi? If not, any plans to have an OSGi Spring Boot (Apache Felix or Eclipse Equinox)? In my opinion, cloud applications must be highly modular and updatable like OSGi offers. 回答1: Yes, it's possible to run Spring Boot apps in OSGI container. First of all, you'll have to switch from Spring Boot jar packaging to OSGI bundle . If you're using Maven you can use org.apache.felix:maven-bundle-plugin for doing that. As Spring Boot dependency jars are not valid OSGI