OSGi DevCon US 2010 Review

40
OSGi DevCon 2010 Review Neil Bartlett

Transcript of OSGi DevCon US 2010 Review

Page 1: OSGi DevCon US 2010 Review

OSGi DevCon 2010 Review

Neil Bartlett

Page 2: OSGi DevCon US 2010 Review

With Thanks...

Page 3: OSGi DevCon US 2010 Review

Themes

Enterprise OSGi

Sun, Oracle and Jigsaw

Tooling

Future of App Servers

Cloud Computing

Page 4: OSGi DevCon US 2010 Review

News

Page 5: OSGi DevCon US 2010 Review

OSGi Enterprise Specification

Released

Page 6: OSGi DevCon US 2010 Review

JNDI

JDBC

JMX

JPA

JTA

Web Container

Blueprint

Remote Services

Remote Services Admin

SCA

Enterprise Release

Page 7: OSGi DevCon US 2010 Review

Next Release...?JCA

Asynchronous Services

JMS

META-INF/services

JAAS

OBR

Command Shell

Config Admin extensions

Multiple Extenders

JPA weaving

Page 8: OSGi DevCon US 2010 Review

Sun/Oracle Keynote

Page 9: OSGi DevCon US 2010 Review

Sun/Oracle Keynote

Re-iterated commitment to OSGi :-)

Re-iterated commitment to Jigsaw :-(

First public mention of “Java Module System Framework”

Page 10: OSGi DevCon US 2010 Review

a.k.a. Qwylt

Image Credit: SXC.hu

Page 11: OSGi DevCon US 2010 Review

Qwylt

APIs for interacting with modules

SPIs for building module systems

Platform for sharing classes between module systems

Page 12: OSGi DevCon US 2010 Review

Pros

Seems to offer interop between OSGi and Jigsaw at runtime

Oracle claim to have implemented 90% of OSGi on Qwylt (“Lyra”), based on Felix code.

Page 13: OSGi DevCon US 2010 Review

Cons

No common module format

Library authors targeting both module systems will have to compile, build and test twice.

Page 14: OSGi DevCon US 2010 Review

Getting Involved

Qwylt discussions likely to be held within a resurrected JSR 277

Though this requires resurrecting the JCP itself...

Page 15: OSGi DevCon US 2010 Review

OSGi Cloud Computing Workshop

Page 16: OSGi DevCon US 2010 Review

Tycho Moving to Eclipse

Page 17: OSGi DevCon US 2010 Review

Tycho

PDE gets a proper build system

“Manifest first” vs “POM first”

Already used by EGit & others

Page 18: OSGi DevCon US 2010 Review

Interesting Talks

Page 19: OSGi DevCon US 2010 Review

OSGi Best and Worst Practices

Page 20: OSGi DevCon US 2010 Review

OSGi Best and Worst...

Paul Vanderlei, Martin Lippert, Jeff McAffer, Chris Aniszczyk

Page 21: OSGi DevCon US 2010 Review

OSGi Best and Worst...

Don’t Program OSGi (use DS instead!)

Use Import-Package (not Require-Bundle!)

Mind your versions

Page 22: OSGi DevCon US 2010 Review

Modular Architecture

Page 23: OSGi DevCon US 2010 Review

Modular Architecture

Kirk Knoernschild, Neil Bartlett

Tutorial format: high level architecture from Kirk, low level details from me

Focus on DS and simplicity seemed to go down well

Page 24: OSGi DevCon US 2010 Review

Feedback

“This presentation epitomises everyone[sic] that is wrong with software architecture. Nonesense [sic]” – Anonymous

Page 25: OSGi DevCon US 2010 Review

OSGi Shells

Page 26: OSGi DevCon US 2010 Review

OSGi Shells

Robert Dunne (Paremus)

Current situation is annoying for writers of tutorials & other docs

Existing shells are underpowered

RFC 147 describes the new standard shell, GoGo is a prototype

Page 27: OSGi DevCon US 2010 Review

Paremus Nimble

Shell and provisioning system

Understands service dependencies, not just imports/requires.

Not open source, but free to use(renewable licence)

Page 28: OSGi DevCon US 2010 Review

Future of Application Servers Panel

Page 29: OSGi DevCon US 2010 Review

Future of App Servers

Host: John Rymer (Forrester Research)

Panelists: Graham Charters (IBM), Glyn Normington (SpringSource), Greg Wilkins (Mortbay/Jetty), Oracle guy, JBoss guy.

Page 30: OSGi DevCon US 2010 Review

Challenges

Cloud deployment

Reduced footprint

Modularity and “profiles”

Page 31: OSGi DevCon US 2010 Review

Memorable Quotes

“Profiles are Rubbish!” – Greg Wilkins, Mortbay

Page 32: OSGi DevCon US 2010 Review

Memorable Quotes

Panelists asked for 3 core focus for future of their product

Page 33: OSGi DevCon US 2010 Review

Graham Charters (IBM)“Enabling the OSGi development model in the enterprise...”

“Enabling the OSGi development model in the enterprise...”

and

“Enabling the OSGi development model in the enterprise...”

Page 34: OSGi DevCon US 2010 Review

ScalaModules

Page 35: OSGi DevCon US 2010 Review

ScalaModules

A DSL to ease development with OSGi services

Complements DS, Blueprint etc

Gives access to full power of low-level APIs...

but much easier & safer to use.

Page 36: OSGi DevCon US 2010 Review

ScalaModules

Size of the core Scala library was discussed: 4Mb

Clearly creates a barrier to adoption of Scala

Needs to be modularised!

Page 37: OSGi DevCon US 2010 Review

OSGi Cloud Workshop

Page 38: OSGi DevCon US 2010 Review

Battle Of The “Cloud Picture” Slides

Page 39: OSGi DevCon US 2010 Review

Image Credit: NASA

Page 40: OSGi DevCon US 2010 Review

OSGi Cloud WorkshopLots of participants!

Key Question:

What needs to be specified, vs “value added” features that vendors may implement?

Likelihood of a new “Cloud Expert Group” in the near future?