I just recently stumbled upon the fact that Declarative Services in OSGi can set the configuration of a component to required so that the component receives it upon activation, removing the gap between component activation and configuration. I also realized with this that you can receive configuration updates via the modified method.
It...
I use ServiceMix 4.2 on my local Windows machine for development.
Now I installed a FUSE ESB 4.3 in a Linux environment and start it via SSHing on the linux machine. After leaving the karaf console the container always shuts down. How can I leave the karaf console with ServiceMix running?
(Might be just configuration, but I can't fin...
I'm learning OSGi and I'm curious about the following situation:
I want to change (extend mostly) an interface exposed by OSGi, without changing the classname. Is it possible make a bundle that "translates" the old interface to the new.
Below is an example, I hope it is clear enough, just by making use of a few manifest headers.
Suppos...
Hi,
I have deployed a legacy web-app as an osgi bundle in equinox using the spring dm web-extender and jetty. The problem is that the webapp.root always appears to get set to a temp folder under '\Documents and Settings\\Local Settings\Temp\' and so any references to xml or properties files within the WEB-INF/classes folder in the war...
People,
I already searched a lot but I'm not finding my answer..
I did a eclipse plugin that writes junit test cases from source code.
By now, I'm starting to use reflection in my code, but the plugin can't find the classes in the java project being tested!
Is there a way to use the selected project classpath in my plug-in? How??
I'...
Is the concept of a strict modularity provided by OSGi frameworks in Java, available in any other programming language?
I felt the concept of friend classes in C++ is somewhat similar, but it seems to be a much more granular control. I'm not sure if the friend concept can be applied at a namespace level.
In other languages I have no ...
If an Eclipse project includes a .jar file, the package explorer treats it like a tree and enables the user to click the "+" sign to the left of the file name to expand the tree and show the files in the .jar archive.
I would like the package explorer to treat other file types the same way. A really simple example would be if the file t...
The title says it all; has anyone deployed a corporate application in OSGi and found it useful?
I can see the benefits, forced modularity, good dependency definitions etc. But these seem to be mainly build related improvements.
Has anyone found it useful to dynamically replace an existing module? We tend to split our application by pro...