Hi, It’s my pleasure to announce that I’ve finally released JTheque Core 2.1.0 ! The different services of the core are now separated using OSGi. With this separation, I’ve improved a lot the design of the core and the orthogonality of the different services. Each service is now an OSGi bundle. I’ve also refactored the implementation of […]
Hi, It’s my pleasure to announce the release of a new version of JTheque Utils, the 1.1.5. There is a lot of changes in this version. First of all, the library is now OSGi Ready, you can use it with no problem in an OSGi application. Here are the main changes of this version : […]
In this pose st, we’ll take the first implementation we made using OSGi and use Spring Dynamic Modules to improve the application. Spring Dynamic Modules (Spring Dm) makes the development of OSGi-based applications a lot more easier. With that, the deployment of services is a lot easier. You can inject services like any other Spring […]
When you develop applications and you’ve performance problems, it’s really interesting to see what can cause this problems. And it that case, the profilers are the most useful tool. By example, we can use VisualVM, packed by default with the Java Virtual Machine. For more information, you can read this introduction to Java VisualVM. But, […]
In this post, we’ll develop a simple Hello World application with OSGi. We will use Felix as OSGi container. In the next post, we’ll continue with this application and use Spring Dynamic Modules to improve it. To make the development interesting, we will create two bundles : A bundle providing a service of HelloWorld A […]
Some weeks ago, I finished “Modular Java – Creating Flexible Applications With OSGi and Spring”, it’s time to do a little review now.
I experienced some problems with Substance in OSGi. Using this code : I got different errors, like : Exception in thread “AWT-EventQueue-0″ java.lang.NullPointerException at org.pushingpixels.substance.internal.utils.SubstanceColorUtilities.getDefaultBackgroundColor(SubstanceColorUtilities.java:823) I found a simple solution to make Substance work in OSGi : With that code, i’ve no more problems using Substance Look And Feel. Hope that will help someone.
Like you perhaps know, i’m currently migrating JTheque to OSGi. During this migration i found several problems in the JTheque architecture that made the migration impossible without changing some concepts. In this post I’ll detail all the problems I found.
After had many problems using Osmorc, the Intellij Idea plugin for OSGi support, i decided to no longer use it. Now, i make all manually. I have several reasons to not be satisfied of this plugin. First of all, this plugin display all the errors in OSGi configuration (Manifest, Activators and imports) but provide no […]