Hi Richard,

Spring itself doesn't have OSGi support. You have to add Spring DM to get the OSGi features (osgix:service, osgix:reference, etc).

Actually, Blueprint comes from Spring DM, and Spring DM is not deprecated/dead (replaced by Blueprint Gemini).

In Karaf, we use Apache Aries Blueprint (Blueprint is the specification, we have two implementations: one in Apache Aries, one in Eclipse with Gemini).

Regards
JB

On 09/18/2014 10:53 AM, Richard Snowden wrote:
Hi all,

I just played around a little bit creating and consuming OSGi services.
First with Blueprint and then with Spring. It seems there's no big
difference between those two.

For me (as a beginner in OSGi / Karaf) Blueprint context files look
smaller and cleaner, so I'd like to focus my efforts on Blueprint and
forget about Spring. Is this a bad idea?

What is the main difference between Spring and Blueprint?

Regards,
Richard

--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to