The Spring Dynamic Modules for OSGi(tm) Service Platforms project makes it easy to build Spring applications that run in an OSGi framework
Questions tagged [spring-dm]
86 questions
37
votes
5 answers
OSGi: Blueprint vs. Spring DM
I am a little bit confused about Blueprint and Spring DM:
From what I think is true:
Spring DM is a framework defined by Spring Source
Blueprint is a framework defined by the OSGi Alliance
Blueprint has "taken" many of it's ideas from Spring…

Frizz
- 2,524
- 6
- 31
- 45
18
votes
3 answers
Spring unable to locate OSGi namespace handler
I have a spring MVC projet that runs on eclipse virgo OSGi platform.
When I attempt to import an OSGi service using tag I get the following exception :
Servlet /Web threw load() exception…

Houcem Berrayana
- 3,052
- 22
- 40
14
votes
3 answers
What is the difference between "Import-Bundle" and "Require-Bundle"?
What is the difference between spring source dm server specific Import-Bundle and OSGi's Require-Bundle?
I am confused whether to use Import-Bundle or Require-Bundle in my project.

Rajani Karuturi
- 3,450
- 3
- 27
- 40
11
votes
2 answers
Combine OSGi blueprint and spring configuration
Are there any good/best practices regarding the combination of Spring configuration and OSGi Blueprint (e.g. Gemini Blueprint)? Which XML files do you use? Where do you put them in your OSGi bundles (META-INF/spring, OSGi-INF)? Which of these…

jens
- 1,763
- 1
- 15
- 25
8
votes
1 answer
what is the difference between and in spring DM
what is the difference between and in the xml config file of spring DM.

chao luo
- 143
- 1
- 2
- 7
8
votes
3 answers
What is correct path for creation of micro services in Java? Spring Boot or OSGI
I found a book "Spring DM in action". When I started to check the latest release of Spring for OSGI, I found out that Spring has discontinued this project.
As I have some experience of developing in Spring, I would like to understand should I…

Valters Rostoks
- 95
- 1
- 5
7
votes
2 answers
Unresolved constraint in bundle, missing requirement osgi.wiring.package
I am having a project using OSGi-(felix), SpringDM, hibernate, maven. when I installed bundle, it is ok, the output when I run bundle id is:
LastModified 1384619994484
Headers [Manifest-Version=1.0, Bundle-Vendor=NguyenVinhLinh,…

Nguyen Vinh Linh
- 107
- 1
- 1
- 11
5
votes
2 answers
How could I get BundleContext in Spring DM?
I am newly on Spring DM and I would like to access Bundlecontext. My problem is that I have a bundle with Activator, but it does not have xml config file. I cannot touch this bundle, then I need to access to BundleContext and serviceReference to…

Jose Hdez
- 2,297
- 7
- 38
- 52
4
votes
1 answer
Adding a ServiceListener with Spring DM
I am wondering if it possible to do the equivalent of
public void start(BundleContext context)
{
String filter = "filter for my specific service";
context.addServiceListener(new MyServiceListener(), filter);
}
with Spring DM. I have…

Robin
- 24,062
- 5
- 49
- 58
4
votes
2 answers
Spring OSGI service reference interfaces must be explicitly imported by consuming bundle?
I'm getting acquainted with Spring OSGI and Blueprint, but am having "classpath" difficulties (like many newbies).
I have two OSGI bundles - one that defines various beans (using Blueprint, not that it should matter) and exports them as services;…

RubyTuesdayDONO
- 2,350
- 2
- 25
- 37
4
votes
1 answer
How do I use a Spring bean inside an OSGi bundle?
I have an application where I have to use Spring to load a bean based on some business conditions inside an OSGi bundle. This bean is not meant for export and is used for calculation inisde my bundle. Basically I have an actual service component,…

Questionevrything
- 239
- 4
- 12
4
votes
0 answers
Example of using Felix file install
i have been looking on the internet for an example of using felix file install ... in particular i would like to know how to load this bundle ad how to feed it with the needed configuration files.
I would like to take this occasion to aske you othe…

user1577150
- 41
- 2
4
votes
1 answer
Tomcat + OSGi : No Catalina Service found
While trying to enable Spring DM with web support on virgo-tomcat-server-3.0.2.RELEASE, I get the exception:
ERROR WebExtender-Init
org.springframework.osgi.web.deployer.tomcat.TomcatWarDeployer
No Catalina Service found, bailing…

White_Sox
- 61
- 1
- 1
- 6
4
votes
3 answers
How to configure Eclipse RCP with Spring
How can I configure eclipse RCP with spring? Do I need spring dm?
Can you please show me a tutorial on how to configure spring with Eclipse RCP or Eclipse RAP?
How can I add spring to Eclipse RCP and just use it? How can I see the context…

Alex
- 2,126
- 3
- 25
- 47
3
votes
2 answers
OSGi list, what are those headers?
I'm using Fuse ESB (ServiceMix) and I've been searching all over in the hope to find a better explanation of the various headers when running the command 'osgi:list'. Namely the two columns I want to understand are 'Blueprint' and 'Spring'. I have…

AndyF
- 1,074
- 1
- 12
- 19