Hello everyone,

I am considering to migrate an application running on Eclipse Virgo to Apache 
Karaf. The application consists of multiple OSGi bundles which communicate 
between each other using OSGi services. The bundles are using Spring as the IOC 
container and the services are exported using Gemini Blueprint. The database 
access is solved using JPA and hibernate and the frontend is developed in 
Primefaces. There are also some bundles which are fragments of other bundles.

I tried to migrate a smaller part of the application and I ran into quite some 
problems. The following areas are not really clear to me:

Is there a way how to solve exporting of Spring services to OSGi context or do 
I have to migrate to blueprint (as suggested here: 
https://stackoverflow.com/a/41939052)?

Is the blueprint-maven-plugin still used and maintained? The last release is 
four years old.

Is aspectj supported in Apache Karaf? What is needed to configure and what 
bundles need to be installed in order to have the aspects working? Are the 
aspects going to work also across bundles?

What is needed in order to deploy war file (using Primefaces and Mojarra as the 
JSF implementation)?



I guess there is not really a guide for migration from Eclipse Virgo to Apache 
Karaf but I would appreciate any hints and/or opinion as well as links to 
resources which could shed some light on the above mentioned topics.

I am happy to share more information about the application if neede.

Best regards

Martin Zukal



Reply via email to