Páginas

Mostrando entradas con la etiqueta Karaf. Mostrar todas las entradas
Mostrando entradas con la etiqueta Karaf. Mostrar todas las entradas

lunes, 6 de octubre de 2014

Summary of What is OSGi and why I should use it

Hi Devs !!!

Here we are on road again ....

Last  12th and 13th of September we had a great presentation about OSGi and Apache Karaf by Jean Baptiste Onofre.

He showed us the main purposes for this, relatively old, technology ( 1999 ) : OSGi, created by a group of great companies like IBM and Oracle, 

OSGi gives you the power to allow developing your applications with dynamic modularity to decouple and distribute them more easily.

In OSGi we build bundles ( jar files ), that are the minimum expression we deploy in our framework. Every bundle has its own classloader and they live in the same "universe" and can share services and consume them from other bundles with no effort.


Our bundles have their own lifecycle, and we can manage them installing, running, stopping and uninstalling without having to stop the other bundles or the framework.

One main feature of OSGi are the services. We can register our services ( some in every bundle ) as providers, and we can consume those services as consumers. The consumers simply injects the service but it doesn't know where exactly lives the service and which concrete implementation it would get. The contract is the interface.

One of the most popular OSGi frameworks is Apache Karaf, based on Apache Felix or Eclipse Equinox and including some useful utilities ( logging, shell, security, configAdmin, web container .... )
It provides us with a shell to execute the commands and also a web page to manage the framework.






We also had time to see what is Apache Cellar, a subproject of Apache Karaf that allows powerful synchronisation of multiple Karaf instances. It uses Hazelcast for data distribution.

With Cellar we can distribute our bundles in a mirror system to ease the scalability and we also can consume services from other framework instances without effort and as a single injection .




Here you have the slides ( we are improving the audio for the video presentation, any help ? ) :



Enjoy it !!!


lunes, 25 de agosto de 2014

What is OSGi and why and how I should consider it for my projects


Hi devs !!!!    here we are again :)

We hope you enjoyed your vacations and that your expectations were fulfilled . ;)

To start the new season we have a great presentation with a workshop.

Next 12th of September in Mobile World Center we will be hosting a day event about OSGi, and the next day, the 13th of September we will host a workshop in La Fontana.


In this presentation we will answer to the question "What is OSGi and why and how I should consider it for my projects?" , getting information on OSGi specifications and working with one container : Apache Karaf.


Apache Karaf is now one of the most popular OSGi containers. It provide a very lightweight, powerful and enterprise ready container, allowing you to easily and quickly deploy your applications, especially the OSGi ones.


During the first session, you will have a complete overview of Karaf, and its features. You will see the shell console in action, the provisioning mechanism using Karaf Features, the security layer providing RBAC support, etc.

During the second session, the workshop, we will create a complete enterprise level OSGi application by leveraging the different layers provided by Karaf.



The presentation will be given by Jean-Baptiste Onofré. He is an ASF member and committer of Apache Karaf, Apache ServiceMix, Apache ACE, Apache Camel, Apache Archiva, Apache Kalumet, Apache Falcon, Apache Syncope and mentor on Apache Sirona.


Jean-Baptiste brings over ten years of development experience to Talend, where he works as a SOA/Software Architect. Also is the author of book "Learning Apache Cellar" .




To properly participate in the workshop would be great if you have downloaded , and installed, these libraries and software :


Don't miss this event !!!!!!!!!!!! See you there :)

Register to the Presentation - at Mobile World Centre  

Register to the Workshop ( limited seats ) - at La Fontana