Páginas

Mostrando entradas con la etiqueta osgi. Mostrar todas las entradas
Mostrando entradas con la etiqueta osgi. 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 !!!


miércoles, 17 de septiembre de 2014

OSGi made easy with enRoute

Hi devs !!!!   

We hope you enjoyed our past OSGi event, and now we come back :)



Next 26th of September in Mobile World Center we will be hosting an event, at 19.00  for 2 hours, about OSGi and enRoute, and the next day, the 27th of September ,at 10.15 for 4 hours, we will host a workshop in La Fontana.


In this presentation we will remember the basic questions about OSGi and will be presented enRoute , a framework to help and ease the process of OSGi adoption. In the workshop we will play with this framework to create an application.


"In the enRoute project we are creating a tool chain that supports real modualr software engineering while making it much easier to get started. Though some development is unfortunately necessary (at least initially), the majority of what we do in this project is selecting parties that want to collaborate in this chain and making sure that users have one place where they can start working with the tool chain. This means working with partners so that the parts of the chain work together, providing documentation that describes the voids between the different tools, making tutorials that show how the chain works, initiating OSGi specifications for missing aspects, and sometimes creating open source code for crucial pieces that nobody yet has made. And last, but absolutely not least, we want to collect and describe best practices."




Prerequisites for the workshop

  • Java 8, probably already got it? If not, this is a good time to get started!
  • git, unlikely that you do not have it installed yet?
  • Eclipse Luna, if you do not know which variant, pick the Eclipse Standard variant, make sure it has Git support.
  • Bndtools, while we’re under construction you have to install it from cloudbees update site, this is the latest build and not release so do not use it for production.


Peter Kriens is an independent consultant since 1990. 
He currently works for the OSGi Alliance and jpm4j. 

During the eighties he developed advanced distributed systems for newspapers based on microcomputers based on, at the time very novel, object oriented technologies. For this experience in Objects he was hired by a number of international companies, including Adobe, Intel, Ericsson, IBM, and many others. 

During his work at Ericsson Research in 1998 he got involved with the OSGi specification; Later he became the primary editor for these specifications. In 2005 he was awarded the OSGi Fellows title. After taking a sabbatical in 2012 to develop jpm4j he returned to the OSGi Alliance to help increasing adoption. 



enRoute










Dont miss this great event !!! 

Register for Friday presentation at Mobile World Centre


Register for Saturday workshop at La Fontana






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

sábado, 2 de agosto de 2014

OSGi Month ( 09 / 2014 )

Hi devs !!!!!!!!!
Talk in English

We're back again !!! you doubted it ? ;)





We are so proud to announce this September would be the OSGi month in BarcelonaJUG, hosting 2 presentations with 2 great speakers.


OSGi ( how to start )



Developers have been using OSGi from years ago ( e.g. Eclipse from 2005, version 3.0  using Equinox , Netbeans from 2010, version 6.9 ) and some of them know a little of this technology. Some misunderstandings have been in the road but now it's time to clarify some aspects of this technology. 


"The OSGi (Open Service Gateway initiative) specification describes modular system and a service platform for the Java programming language that implements a complete and dynamic component model, something that does not exist in standalone Java/VM environments." 
( wikipedia )

We will talk about the basic concepts of this technology, clearifying misunderstandings, tools and frameworks to an easy adoption, containers, and products to distributed architectures.


The two presentations will be a two day sessions, with a theorical presentation Friday afternoon and a workshop Saturdary morning.

These are our speakers :


Jean­Baptiste Onofré 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" .
He will be presenting, 12th and 13th of September, OSGi basics and showing Apache Karaf as an OSGi container.






Peter Kriens currently works for the OSGi Alliance and jpm4j. In 2005 he was awarded the OSGi Fellows title. After taking a sabbatical in 2012 to develop jpm4j he returned to the OSGi Alliance to help increasing adoption. 


He will be presenting, 26th and 27th of September, the core of OSGi and enRoute , a framework to make as easy as possible for developers to get started with OSGi without compromising its core values.




enRoute






Hope you will enjoy this presentations. 


We will be announcing soon each session with a detailed abstract... don't miss this opportunity and reserve your seat whenever we publish the Meetup event.



Prepare your agenda and see you soon :)