Mar 29, 2013 - org.eclipse.gemini.jpa? Friday, 29 March 13 ... Eclipse Features. ⢠Virgo Plans/PARs .... Your app requ
Cook Up a Runtime with the OSGi Resolver Neil Bartlett - Paremus
[email protected] Paremus Packager
Friday, 29 March 13
Copyright © 2005 - 2013 Paremus Ltd. May not be reproduced by any means without express permission. All rights reserved.
March 2013
Problem Statement (1)
Friday, 29 March 13
OSGi “The Framework that Likes to Say...”
Friday, 29 March 13
NO Friday, 29 March 13
YOU CAN’T
NO YOU CAN’T • Google for org.wtf, find that it’s part of bundle • Example: missing import: org.wtf. com.acme.fml
Friday, 29 March 13
•
Download and install com.acme.fml, now you have more missing imports: org.thingummy, javax.whatever (version 3.0.2.SNAPSHOT).
•
Go round again... and again... and again...
THIS IS NOT A JOB FOR HUMAN BEANS
Friday, 29 March 13
Problem Statement (2)
Friday, 29 March 13
NOTHING’S HAPPENING!
Friday, 29 March 13
Nothing’s Happening • Oh you’re using Declarative Services! Did you
remember to include org.apache.felix.scr?
• Oh you’re using Blueprint. Did you remember to include org.apache.aries.blueprint?
•
Friday, 29 March 13
Oh you’re using JPA. Did you remember to include org.eclipse.gemini.jpa?
Extender/Whiteboard • NO direct/static dependency • Dependency is implicit: without the extender, nothing happens.
•
Friday, 29 March 13
NO diagnostic error messages
Not Really Solutions • • Eclipse Features • Virgo Plans/PARs • Karaf KARs/Features etc... •
Deployment Admin Packages
Friday, 29 March 13
OSGi Release 5
Friday, 29 March 13
OSGi Release 5 • Released April 2012 • New Specification: Resolver and Repository
Friday, 29 March 13
Repositories
Friday, 29 March 13
Simple API! public interface Repository { Map findProviders( Collection