osgi
Manage your OSGi application with Apache Felix File Install
Check also the second article on File Install: Dynamic Configurations
A while ago we introduced in this blog a little interesting bundle called Apache Felix File Install. This bundle has actually gone a long way since then, and now it’s even part of Sun Microsystem open source application server Glassfish.
The reason this simple bundle is quite [...]
Modular Java: a review
Don’t forget to visit OSGi books for more news on available and upcoming books on OSGi
Modular Java: Creating Flexible Applications with OSGi and Spring is one of the first OSGi books hitting the shelves this year, and probably the most practical and simple book on server-side OSGi published so far.
The author (Craig Walls) adopts a [...]
Four articles to get started with OSGi tests
We haven’t had many chance to talk about OSGi testing in this website, but that’s definitely an hot topic, and something we will come back soon with some new tutorials.
In the meantime, here’s a list of four resources on the Web to kick the tires on OSGi testing:
Putting OSGi to the Test with Pax Exam, [...]
A command line client for the Configuration Admin Service
You can find some introductory articles on the OSGi Configuration Admin Service here and here
In our introductory articles on the OSGi Configuration Admin Service, we explained how to programmatically access to the OSGi ConfigurationAdmin interface to send configuration dictionaries to bundles installed in your OSGi framework.
Of course that’s just one possible usage scenario of the [...]
Easy OSGi provisioning with Pax-Runner provisioning files
As Craig reminded me in a comment some days ago, the best way to provision non-trivial OSGi applications with Pax Runner is to write a custom profile or a provisioning file.
In this tutorial we will go through all the steps you need to do in order to write your own provisioning file. First of all, [...]
Factory pattern on steroids: the ManagedServiceFactory
A few months ago we explored the OSGi Configuration Admin Service, and the ManagedService interface in particular, to see how it is possible to create dynamically configurable services with OSGi.
The second important interface exposed by the Configuration Admin Service is the ManagedServiceFactory; as the name suggests, its purpose is to create multiple, dynamically configurable, implementations [...]
Pax-Exam tutorial on DZone
Craig Wells, the author of Modular Java, has just posted an interesting article on the Java DZone about Pax-Exam.
Pax-Exam is one of the many OSGi testing tools available that allows you to test your bundles inside a running OSGi containers; built on top the other Pax tools, Pax-Exam allows you to write JUnit (4) tests [...]
Monitor your OSGi container with the Apache Felix Web Console
Every OSGi container comes with a handy textual console, but if you aren’t (yet!) an hardcore OSGi geek, there’s a very nice web interface that can help you to inspect and manage your OSGi framework. Its name is Apache Felix Web Management Console.
The Felix Web Console is a single OSGi bundle that runs in any [...]
Spring OSGi + Eclipse RCP Tutorial
Ralf Elbert has just posted a tutorial explaining how to use Spring Dynamic Modules in an Eclipse RCP application:
Spring is not only a helpful framework for the server side, its “Spring Dynamic Modules for OSGi” can be beneficial for Eclipse RCP applications on the client side as well:
– Spring’s IoC container is the most [...]
Mixing JavaEE and OSGi with JOnAS
The akquinet blog has an interesting post illustrating how the JOnAS application server can be used to develop Java Enterprise applications with OSGi.
This post describes the Jonas Showcase. This showcase illustrates how the JOnAS application server support OSGi integration. thanks to JOnAS, OSGi and JEE can collaborate together in a very elegant way.
Check the [...]
