Tuesday, February 28, 2017

OSGi API Snapshots are Live!

Sometime back, OSGi began to make all design document (RFC) drafts available in real time from the OSGi Design GitHub repository. In furtherance of providing real time access to the latest design work at OSGi, OSGi made a change to the OSGi build process. Previously, the various OSGi specification's API code had only been published by the Alliance once a specification release has been declared final. Since mid February, however, the OSGi build has been publishing API snapshots to the public https://oss.sonatype.org/content/repositories/osgi/ group repository! Many thanks to BJ Hargrave for making this happen.

So why should you care?

Broadly speaking, the people who care about the pre-release OSGi APIs fall into two sets:
  1. The people who want to try out the new draft APIs in their applications.
  2. The people who want to implement the new draft APIs.
At first glance, it looks like the new release policy only helps the second group - after all it saves them from some issues
  • How do I keep up to date with the OSGi RFCs?
  • Is there a way to avoid duplicating the OSGi draft API source code?
But actually there are two important ways that publishing snapshots directly helps users:
  1. By making it easier for implementors to keep up to date with RFCs, users get faster access to new implementations of the draft API.
  2. For implementation code published by the OSGi Alliance, you get access to the draft code right now!
A good example of this would be OSGi Push Streams. You may have already watched the talk I gave in Portland about them, and been wondering when you could try them out. The answer is right now, and the same is true for the new 1.1 version of OSGi Promises!

Helping implementors

Open Source implementations of OSGi specifications are already moving to use the new draft API snapshots from OSGi (for example the Aries JAX-RS whiteboard). In most cases the API can be simply referenced from the OSGi group repository and no further action is needed.

One thing worthy of note is that the latest OSGi APIs are all compiled using Java 8. For some implementations, this is a problem as they wish to include the API inside their bundle but also to be usable on older versions of Java. In these cases, implementors may wish to try using a tool such as the Retrolambda project, so that they can still benefit from the published snapshots.

We hope that you enjoy the chance to play with all the cool new specifications!

Monday, February 6, 2017

OSGi and IoT in Berlin March 15-16

Interested in OSGi? Interested in IoT? Then read on.....

Bosch is holding two events in Berlin between March 15 to 16 this year and you can join them to find out more about their IoT activities and get involved with some of their OSGi IoT solutions in the Connected Manufacturing Hack Challenge.

Bosch ConnectedExperience 2017 featuring the IoT Hackathon and Connected Manufacturing Hack Challenge is taking place from 15 to 16 March with a pre-meeting from 18.30hrs on 14 March.

As one of over 500 developers attending the ConnectedExperience you will get the opportunity to take part in four IoT Hack Hhallenges (Connected Mobility, Connected Manufacturing, Connected Building & City and Open Hack Challenge). You can find more information about the event and how to register at http://bcw.bosch-si.com/berlin/hackathon.

Bosch ConnectedWorld 2017 conference is taking place from 15 to 16 March offering more than 150 speakers across 5 stages with a mixture of keynotes, break out sessions, demos and case studies. This is a business conference focused on IoT. You can find out more about the conference agenda and how to register at http://bcw.bosch-si.com/berlin/conference.

OSGi Alliance members should contact Kai Hackbath who can provide special access codes to secure you a free spot at the Hackathon or a discount for the conference ticket.

Wednesday, February 1, 2017

OSGi PushStreams @ Portland JUG

The recent OSGi evening at the Portland JUG included a number of talks from members of the OSGi Expert Groups.  Co-chair of the IoT Expert Group, Tim Ward, can be seen in the video below discussing OSGi PushStreams and demonstrating them in use with real time train information.

Thanks to Portland JUG (@pjug) for organising the event and making the video. Thanks also to New Relic for hosting the meeting.

What are OSGi PushStreams? from Ian Downard on Vimeo.

In case you missed it previously, you can also watch a video of OSGi Alliance CTO, BJ Hargrave, presenting 'What is OSGi?' at the same meeting.