Upload
mfrancis
View
2.436
Download
0
Embed Size (px)
Citation preview
OSGi DevCon 2010 Review
Neil Bartlett
With Thanks...
Themes
Enterprise OSGi
Sun, Oracle and Jigsaw
Tooling
Future of App Servers
Cloud Computing
News
OSGi Enterprise Specification
Released
JNDI
JDBC
JMX
JPA
JTA
Web Container
Blueprint
Remote Services
Remote Services Admin
SCA
Enterprise Release
Next Release...?JCA
Asynchronous Services
JMS
META-INF/services
JAAS
OBR
Command Shell
Config Admin extensions
Multiple Extenders
JPA weaving
Sun/Oracle Keynote
Sun/Oracle Keynote
Re-iterated commitment to OSGi :-)
Re-iterated commitment to Jigsaw :-(
First public mention of “Java Module System Framework”
a.k.a. Qwylt
Image Credit: SXC.hu
Qwylt
APIs for interacting with modules
SPIs for building module systems
Platform for sharing classes between module systems
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.
Cons
No common module format
Library authors targeting both module systems will have to compile, build and test twice.
Getting Involved
Qwylt discussions likely to be held within a resurrected JSR 277
Though this requires resurrecting the JCP itself...
OSGi Cloud Computing Workshop
Tycho Moving to Eclipse
Tycho
PDE gets a proper build system
“Manifest first” vs “POM first”
Already used by EGit & others
Interesting Talks
OSGi Best and Worst Practices
OSGi Best and Worst...
Paul Vanderlei, Martin Lippert, Jeff McAffer, Chris Aniszczyk
OSGi Best and Worst...
Don’t Program OSGi (use DS instead!)
Use Import-Package (not Require-Bundle!)
Mind your versions
Modular Architecture
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
Feedback
“This presentation epitomises everyone[sic] that is wrong with software architecture. Nonesense [sic]” – Anonymous
OSGi Shells
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
Paremus Nimble
Shell and provisioning system
Understands service dependencies, not just imports/requires.
Not open source, but free to use(renewable licence)
Future of Application Servers Panel
Future of App Servers
Host: John Rymer (Forrester Research)
Panelists: Graham Charters (IBM), Glyn Normington (SpringSource), Greg Wilkins (Mortbay/Jetty), Oracle guy, JBoss guy.
Challenges
Cloud deployment
Reduced footprint
Modularity and “profiles”
Memorable Quotes
“Profiles are Rubbish!” – Greg Wilkins, Mortbay
Memorable Quotes
Panelists asked for 3 core focus for future of their product
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...”
ScalaModules
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.
ScalaModules
Size of the core Scala library was discussed: 4Mb
Clearly creates a barrier to adoption of Scala
Needs to be modularised!
OSGi Cloud Workshop
Battle Of The “Cloud Picture” Slides
Image Credit: NASA
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?