SlideShare a Scribd company logo
1 of 30
Pax Tools
Kickstart your OSGi Adventure




     (Toni Menzel - Independent)
me

                           • Toni Menzel, 26yrs
                           • independent consultant
                           • from Hannover / Germany
                           • started with OSGi in 2006
                           • OPS4J Pax Developer
                           • Lead of Pax Exam
Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1   2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
Outline


                           •        OPS4J & Pax Background
                           •        Pax Construct
                           •        Pax Runner
                           •        Pax Exam



Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1   2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
OPS4J Background


                           •        Community since 2001
                           •        Open Participation (“We hate patches”)
                           •        Most Prominent Project: Pax
                           •        Find it out at http://ops4j.org



Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1   2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
Pax in a Nutshell

                           •        Umbrella Project for OSGi @ OPS4J
                           •        Focus on good practices, spec compliance
                                    and interopability
                           •        Framework Independent                                ( but we do love Felix )




                           •        Tools + Service Implementations
                           •        Widely used (Apache Felix, CXF, Mule,
                                    SMX4, ModuleFusion,..)

Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1   2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
The Pax Family


                                                                                          Pax Web
                                                                                          Pax Logging
                                                                                      +   Pax URL
                                                                                          Pax Swissbox




Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1       2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1   2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
The rails way..

                       • Commandline Toolbox
                       • “Maven Archetypes (on steroids) for OSGi”
                       • Create & Manage OSGi Projects
                       • Best Practices out of the box
                        • Maven
                        • Maven Bundle Plugin

Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1   2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
Commands

                       • pax-create-project -g foo -a bar
                       • pax-wrap-jar -a asm
                       • pax-import-bundle -a cake
                       • pax-create-bundle -p com.company.log
                       • pax-provision -f felix|equinox|knopflerfish

Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1   2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
DEMO Pax Construct



Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1   2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1   2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
High Level View
                           •        Build for best developer experience
                           •        Across all major frameworks
                                  •         Apache Felix
                                  •         Knopflerfish
                                  •         Equinox
                                  •         Concierge
                           •        All Versions

Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1   2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
Benefits
                           •        Provisions all required artifacts
                                  •         Framework Platform
                                  •         Additional Bundles
                           •        Generates
                                  •         Configuration Files
                                  •         Target Platform
                           •        Runs platform at the end in a new JVM

Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1   2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
Provisioning
                   •           Profiles (SpringDM,CXF,Web.. many others)
                   •           Pax URL:
                           •         mvn:org.apache.felix/org.apache.felix.dependencymanager

                           •         wrap:mvn:org.apache.commons/commons-logging/1.0.0



                   •           Folders, Zip Files, OBR
                   •           Support for Karaf Profiles


Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1   2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
..

                           •        Create OSGi Distributables
                           •        Used as:
                                  •         pax-run.sh
                                  •         pax-provisioning
                                  •         Eclipse Plugin (former Pax Cursor)
                                  •         Java API
                           •        Lets have a look
Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1   2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
DEMO Pax Runner



Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1   2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1   2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
What & Why


                           • Integration Testing for OSGi
                           • Core Principles:
                            • Run inside a real osgi container
                            • No side-effects (isolation)
                            • Test “orchestrates” your “real” Bundles

Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1   2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
Best of breed


                           • Default Configuration uses
                            • Pax Runner under the hood
                            • JUnit4 as your visible Test Tool
                            • Leverages Maven for setup (optional!)

Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1   2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
Anatomie


                           • Exam finds test classes (across IDE/Maven)
                           • Test will end up in its own probe
                           • Probe will be injected into framework
                           • Execution triggered by RMI hook

Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1   2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
DEMO Pax Exam



Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1   2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
One More Thing !
                                               One more thing



Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1   2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
0.20

                                                                                                                                       0.6

Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1   2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
0.6

Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1   2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
1.0

                                                                                                                                       0.6

Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1   2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
1.0



Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1   2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
1.0

                                                                                                                                 1.0

Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1   2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
Questions



                                                                                      ?


Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1       2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
Thank you !
                                                   See you on http://ops4j.org




Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1   2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
Links


                        •         http://www.ops4j.org

                        •         Jira: http://issues.ops4j.org

                        •         http://paxconstruct.ops4j.org

                        •         http://paxrunner.ops4j.org

                        •         http://paxexam.ops4j.org

                        •         Pax Runner Profiles Repository: http://scm.ops4j.org/repos/ops4j/projects/pax/runner-repository

                        •         Mailinglist: general@lists.ops4j.org




Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1       2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com

More Related Content

Similar to OPS4J Pax Tools - Kickstart your OSGi Adventure

Groovy 1 7 Update, past, present, future - S2G Forum 2010
Groovy 1 7 Update, past, present, future - S2G Forum 2010Groovy 1 7 Update, past, present, future - S2G Forum 2010
Groovy 1 7 Update, past, present, future - S2G Forum 2010
Guillaume Laforge
 
Symfony Day 2009 - Symfony vs Integrating products
Symfony Day 2009 - Symfony vs Integrating productsSymfony Day 2009 - Symfony vs Integrating products
Symfony Day 2009 - Symfony vs Integrating products
Xavier Lacot
 
OW2 JOnAS 5.0 Java EE AS- An OSGi Based Integration Platform - François Forna...
OW2 JOnAS 5.0 Java EE AS- An OSGi Based Integration Platform - François Forna...OW2 JOnAS 5.0 Java EE AS- An OSGi Based Integration Platform - François Forna...
OW2 JOnAS 5.0 Java EE AS- An OSGi Based Integration Platform - François Forna...
mfrancis
 
Developing Plugins on OpenVBX at Greater San Francisco Bay Area LAMP Group
Developing Plugins on OpenVBX at Greater San Francisco Bay Area LAMP GroupDeveloping Plugins on OpenVBX at Greater San Francisco Bay Area LAMP Group
Developing Plugins on OpenVBX at Greater San Francisco Bay Area LAMP Group
minddog
 
Hands on puremvc
Hands on puremvcHands on puremvc
Hands on puremvc
diomampo
 

Similar to OPS4J Pax Tools - Kickstart your OSGi Adventure (20)

Groovy 1 7 Update, past, present, future - S2G Forum 2010
Groovy 1 7 Update, past, present, future - S2G Forum 2010Groovy 1 7 Update, past, present, future - S2G Forum 2010
Groovy 1 7 Update, past, present, future - S2G Forum 2010
 
Panel Discussion: What Are the Major Tasks to Tackle Within the Next Two Years?
Panel Discussion: What Are the Major Tasks to Tackle Within the Next Two Years?Panel Discussion: What Are the Major Tasks to Tackle Within the Next Two Years?
Panel Discussion: What Are the Major Tasks to Tackle Within the Next Two Years?
 
An Open Source OSGi Plug-In for Eclipse - Mikaël Desertot, University of Gre...
An Open Source OSGi Plug-In for Eclipse - Mikaël Desertot, University of Gre...An Open Source OSGi Plug-In for Eclipse - Mikaël Desertot, University of Gre...
An Open Source OSGi Plug-In for Eclipse - Mikaël Desertot, University of Gre...
 
Nuxeo Iks 2009 11 13
Nuxeo Iks 2009 11 13Nuxeo Iks 2009 11 13
Nuxeo Iks 2009 11 13
 
Building Apps with PhoneGap
Building Apps with PhoneGap Building Apps with PhoneGap
Building Apps with PhoneGap
 
Symfony Day 2009 - Symfony vs Integrating products
Symfony Day 2009 - Symfony vs Integrating productsSymfony Day 2009 - Symfony vs Integrating products
Symfony Day 2009 - Symfony vs Integrating products
 
GENIVI + OCF Cooperation
GENIVI + OCF CooperationGENIVI + OCF Cooperation
GENIVI + OCF Cooperation
 
OW2 JOnAS 5.0 Java EE AS- An OSGi Based Integration Platform - François Forna...
OW2 JOnAS 5.0 Java EE AS- An OSGi Based Integration Platform - François Forna...OW2 JOnAS 5.0 Java EE AS- An OSGi Based Integration Platform - François Forna...
OW2 JOnAS 5.0 Java EE AS- An OSGi Based Integration Platform - François Forna...
 
Open Accessibility EverywhereGroundwork, Infrastructure, Standards
Open Accessibility EverywhereGroundwork, Infrastructure, StandardsOpen Accessibility EverywhereGroundwork, Infrastructure, Standards
Open Accessibility EverywhereGroundwork, Infrastructure, Standards
 
OSGi on Google Android using Apache Felix
OSGi on Google Android using Apache FelixOSGi on Google Android using Apache Felix
OSGi on Google Android using Apache Felix
 
Developing Plugins on OpenVBX at Greater San Francisco Bay Area LAMP Group
Developing Plugins on OpenVBX at Greater San Francisco Bay Area LAMP GroupDeveloping Plugins on OpenVBX at Greater San Francisco Bay Area LAMP Group
Developing Plugins on OpenVBX at Greater San Francisco Bay Area LAMP Group
 
Hands on puremvc
Hands on puremvcHands on puremvc
Hands on puremvc
 
livedoor's opened and shared technologies
livedoor's opened and shared technologieslivedoor's opened and shared technologies
livedoor's opened and shared technologies
 
Node and SocketIO
Node and SocketIONode and SocketIO
Node and SocketIO
 
DemoCamp Budapest 2016 - Introdcution
DemoCamp Budapest 2016 - IntrodcutionDemoCamp Budapest 2016 - Introdcution
DemoCamp Budapest 2016 - Introdcution
 
OSGi Alliance and its Technology - Where Are We Now, and What is Your Vision ...
OSGi Alliance and its Technology - Where Are We Now, and What is Your Vision ...OSGi Alliance and its Technology - Where Are We Now, and What is Your Vision ...
OSGi Alliance and its Technology - Where Are We Now, and What is Your Vision ...
 
De leukste Bug
De leukste BugDe leukste Bug
De leukste Bug
 
Jenkins-Koji plugin presentation on Python & Ruby devel group @ Brno
Jenkins-Koji plugin presentation on Python & Ruby devel group @ BrnoJenkins-Koji plugin presentation on Python & Ruby devel group @ Brno
Jenkins-Koji plugin presentation on Python & Ruby devel group @ Brno
 
Ahn Conf 2011 - Day 2 Keynote
Ahn Conf 2011 - Day 2 KeynoteAhn Conf 2011 - Day 2 Keynote
Ahn Conf 2011 - Day 2 Keynote
 
Future Tense
Future TenseFuture Tense
Future Tense
 

Recently uploaded

一比一原版(Westminster毕业证)威斯敏斯特大学毕业证成绩单
一比一原版(Westminster毕业证)威斯敏斯特大学毕业证成绩单一比一原版(Westminster毕业证)威斯敏斯特大学毕业证成绩单
一比一原版(Westminster毕业证)威斯敏斯特大学毕业证成绩单
utykdaq
 
existing product research b2.pptxxxxxxxx
existing product research b2.pptxxxxxxxxexisting product research b2.pptxxxxxxxx
existing product research b2.pptxxxxxxxx
ChloeMeadows1
 
Driving & Racing Games Online for Free_ Explore the Excitement with ATM HTML ...
Driving & Racing Games Online for Free_ Explore the Excitement with ATM HTML ...Driving & Racing Games Online for Free_ Explore the Excitement with ATM HTML ...
Driving & Racing Games Online for Free_ Explore the Excitement with ATM HTML ...
ATM HTML Games
 
一比一原版(UCL毕业证)伦敦大学学院毕业证成绩单
一比一原版(UCL毕业证)伦敦大学学院毕业证成绩单一比一原版(UCL毕业证)伦敦大学学院毕业证成绩单
一比一原版(UCL毕业证)伦敦大学学院毕业证成绩单
utykdaq
 
一比一原版(OSU毕业证)俄亥俄州立大学哥伦布分校毕业证成绩单
一比一原版(OSU毕业证)俄亥俄州立大学哥伦布分校毕业证成绩单一比一原版(OSU毕业证)俄亥俄州立大学哥伦布分校毕业证成绩单
一比一原版(OSU毕业证)俄亥俄州立大学哥伦布分校毕业证成绩单
utykdaq
 

Recently uploaded (20)

一比一原版(Westminster毕业证)威斯敏斯特大学毕业证成绩单
一比一原版(Westminster毕业证)威斯敏斯特大学毕业证成绩单一比一原版(Westminster毕业证)威斯敏斯特大学毕业证成绩单
一比一原版(Westminster毕业证)威斯敏斯特大学毕业证成绩单
 
kiff2
kiff2kiff2
kiff2
 
Vip ℂall Girls Pandav Nagar Phone No 9999965857 High Profile ℂall Girl Delhi ...
Vip ℂall Girls Pandav Nagar Phone No 9999965857 High Profile ℂall Girl Delhi ...Vip ℂall Girls Pandav Nagar Phone No 9999965857 High Profile ℂall Girl Delhi ...
Vip ℂall Girls Pandav Nagar Phone No 9999965857 High Profile ℂall Girl Delhi ...
 
Vip ℂall Girls Trilokpuri Phone No 9999965857 High Profile ℂall Girl Delhi No...
Vip ℂall Girls Trilokpuri Phone No 9999965857 High Profile ℂall Girl Delhi No...Vip ℂall Girls Trilokpuri Phone No 9999965857 High Profile ℂall Girl Delhi No...
Vip ℂall Girls Trilokpuri Phone No 9999965857 High Profile ℂall Girl Delhi No...
 
ℂall Girls Chandni Chowk ℂall Now Chhaya ☎ 9899900591 WhatsApp Number 24/7
ℂall Girls Chandni Chowk ℂall Now Chhaya ☎ 9899900591 WhatsApp  Number 24/7ℂall Girls Chandni Chowk ℂall Now Chhaya ☎ 9899900591 WhatsApp  Number 24/7
ℂall Girls Chandni Chowk ℂall Now Chhaya ☎ 9899900591 WhatsApp Number 24/7
 
existing product research b2.pptxxxxxxxx
existing product research b2.pptxxxxxxxxexisting product research b2.pptxxxxxxxx
existing product research b2.pptxxxxxxxx
 
the red riding girl story fkjgoifdjgijogifdoin
the red riding girl story fkjgoifdjgijogifdointhe red riding girl story fkjgoifdjgijogifdoin
the red riding girl story fkjgoifdjgijogifdoin
 
Vip ℂall Girls Ghonda Phone No 9999965857 High Profile ℂall Girl Delhi No Adv...
Vip ℂall Girls Ghonda Phone No 9999965857 High Profile ℂall Girl Delhi No Adv...Vip ℂall Girls Ghonda Phone No 9999965857 High Profile ℂall Girl Delhi No Adv...
Vip ℂall Girls Ghonda Phone No 9999965857 High Profile ℂall Girl Delhi No Adv...
 
Vip ℂall Girls Budh Vihar Phone No 9999965857 High Profile ℂall Girl Delhi No...
Vip ℂall Girls Budh Vihar Phone No 9999965857 High Profile ℂall Girl Delhi No...Vip ℂall Girls Budh Vihar Phone No 9999965857 High Profile ℂall Girl Delhi No...
Vip ℂall Girls Budh Vihar Phone No 9999965857 High Profile ℂall Girl Delhi No...
 
Vip ℂall Girls Hari Nagar Phone No 9999965857 High Profile ℂall Girl Delhi No...
Vip ℂall Girls Hari Nagar Phone No 9999965857 High Profile ℂall Girl Delhi No...Vip ℂall Girls Hari Nagar Phone No 9999965857 High Profile ℂall Girl Delhi No...
Vip ℂall Girls Hari Nagar Phone No 9999965857 High Profile ℂall Girl Delhi No...
 
Vip ℂall Girls Mehrauli Phone No 9999965857 High Profile ℂall Girl Delhi No A...
Vip ℂall Girls Mehrauli Phone No 9999965857 High Profile ℂall Girl Delhi No A...Vip ℂall Girls Mehrauli Phone No 9999965857 High Profile ℂall Girl Delhi No A...
Vip ℂall Girls Mehrauli Phone No 9999965857 High Profile ℂall Girl Delhi No A...
 
Driving & Racing Games Online for Free_ Explore the Excitement with ATM HTML ...
Driving & Racing Games Online for Free_ Explore the Excitement with ATM HTML ...Driving & Racing Games Online for Free_ Explore the Excitement with ATM HTML ...
Driving & Racing Games Online for Free_ Explore the Excitement with ATM HTML ...
 
一比一原版(UCL毕业证)伦敦大学学院毕业证成绩单
一比一原版(UCL毕业证)伦敦大学学院毕业证成绩单一比一原版(UCL毕业证)伦敦大学学院毕业证成绩单
一比一原版(UCL毕业证)伦敦大学学院毕业证成绩单
 
"My Silence, My Grave: The Making Of" Booklet
"My Silence, My Grave: The Making Of" Booklet"My Silence, My Grave: The Making Of" Booklet
"My Silence, My Grave: The Making Of" Booklet
 
Vip ℂall Girls Lado Sarai Phone No 9999965857 High Profile ℂall Girl Delhi No...
Vip ℂall Girls Lado Sarai Phone No 9999965857 High Profile ℂall Girl Delhi No...Vip ℂall Girls Lado Sarai Phone No 9999965857 High Profile ℂall Girl Delhi No...
Vip ℂall Girls Lado Sarai Phone No 9999965857 High Profile ℂall Girl Delhi No...
 
Vip ℂall Girls Madhu Vihar Phone No 9999965857 High Profile ℂall Girl Delhi N...
Vip ℂall Girls Madhu Vihar Phone No 9999965857 High Profile ℂall Girl Delhi N...Vip ℂall Girls Madhu Vihar Phone No 9999965857 High Profile ℂall Girl Delhi N...
Vip ℂall Girls Madhu Vihar Phone No 9999965857 High Profile ℂall Girl Delhi N...
 
Get the Best Online Lotus ID from the Top Betting ID Provider.
Get the Best Online Lotus ID from the Top Betting ID Provider.Get the Best Online Lotus ID from the Top Betting ID Provider.
Get the Best Online Lotus ID from the Top Betting ID Provider.
 
Online Winbuzz ID Provider in India | Get Your Sports ID
Online Winbuzz ID Provider in India | Get Your Sports IDOnline Winbuzz ID Provider in India | Get Your Sports ID
Online Winbuzz ID Provider in India | Get Your Sports ID
 
The Ultimate Guide to Choosing the Best HD IPTV Service in 2024.pdf
The Ultimate Guide to Choosing the Best HD IPTV Service in 2024.pdfThe Ultimate Guide to Choosing the Best HD IPTV Service in 2024.pdf
The Ultimate Guide to Choosing the Best HD IPTV Service in 2024.pdf
 
一比一原版(OSU毕业证)俄亥俄州立大学哥伦布分校毕业证成绩单
一比一原版(OSU毕业证)俄亥俄州立大学哥伦布分校毕业证成绩单一比一原版(OSU毕业证)俄亥俄州立大学哥伦布分校毕业证成绩单
一比一原版(OSU毕业证)俄亥俄州立大学哥伦布分校毕业证成绩单
 

OPS4J Pax Tools - Kickstart your OSGi Adventure

  • 1. Pax Tools Kickstart your OSGi Adventure (Toni Menzel - Independent)
  • 2. me • Toni Menzel, 26yrs • independent consultant • from Hannover / Germany • started with OSGi in 2006 • OPS4J Pax Developer • Lead of Pax Exam Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1 2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
  • 3. Outline • OPS4J & Pax Background • Pax Construct • Pax Runner • Pax Exam Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1 2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
  • 4. OPS4J Background • Community since 2001 • Open Participation (“We hate patches”) • Most Prominent Project: Pax • Find it out at http://ops4j.org Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1 2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
  • 5. Pax in a Nutshell • Umbrella Project for OSGi @ OPS4J • Focus on good practices, spec compliance and interopability • Framework Independent ( but we do love Felix ) • Tools + Service Implementations • Widely used (Apache Felix, CXF, Mule, SMX4, ModuleFusion,..) Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1 2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
  • 6. The Pax Family Pax Web Pax Logging + Pax URL Pax Swissbox Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1 2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
  • 7. Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1 2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
  • 8. The rails way.. • Commandline Toolbox • “Maven Archetypes (on steroids) for OSGi” • Create & Manage OSGi Projects • Best Practices out of the box • Maven • Maven Bundle Plugin Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1 2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
  • 9. Commands • pax-create-project -g foo -a bar • pax-wrap-jar -a asm • pax-import-bundle -a cake • pax-create-bundle -p com.company.log • pax-provision -f felix|equinox|knopflerfish Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1 2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
  • 10. DEMO Pax Construct Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1 2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
  • 11. Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1 2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
  • 12. High Level View • Build for best developer experience • Across all major frameworks • Apache Felix • Knopflerfish • Equinox • Concierge • All Versions Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1 2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
  • 13. Benefits • Provisions all required artifacts • Framework Platform • Additional Bundles • Generates • Configuration Files • Target Platform • Runs platform at the end in a new JVM Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1 2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
  • 14. Provisioning • Profiles (SpringDM,CXF,Web.. many others) • Pax URL: • mvn:org.apache.felix/org.apache.felix.dependencymanager • wrap:mvn:org.apache.commons/commons-logging/1.0.0 • Folders, Zip Files, OBR • Support for Karaf Profiles Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1 2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
  • 15. .. • Create OSGi Distributables • Used as: • pax-run.sh • pax-provisioning • Eclipse Plugin (former Pax Cursor) • Java API • Lets have a look Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1 2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
  • 16. DEMO Pax Runner Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1 2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
  • 17. Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1 2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
  • 18. What & Why • Integration Testing for OSGi • Core Principles: • Run inside a real osgi container • No side-effects (isolation) • Test “orchestrates” your “real” Bundles Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1 2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
  • 19. Best of breed • Default Configuration uses • Pax Runner under the hood • JUnit4 as your visible Test Tool • Leverages Maven for setup (optional!) Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1 2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
  • 20. Anatomie • Exam finds test classes (across IDE/Maven) • Test will end up in its own probe • Probe will be injected into framework • Execution triggered by RMI hook Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1 2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
  • 21. DEMO Pax Exam Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1 2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
  • 22. One More Thing ! One more thing Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1 2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
  • 23. 0.20 0.6 Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1 2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
  • 24. 0.6 Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1 2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
  • 25. 1.0 0.6 Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1 2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
  • 26. 1.0 Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1 2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
  • 27. 1.0 1.0 Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1 2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
  • 28. Questions ? Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1 2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
  • 29. Thank you ! See you on http://ops4j.org Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1 2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com
  • 30. Links • http://www.ops4j.org • Jira: http://issues.ops4j.org • http://paxconstruct.ops4j.org • http://paxrunner.ops4j.org • http://paxexam.ops4j.org • Pax Runner Profiles Repository: http://scm.ops4j.org/repos/ops4j/projects/pax/runner-repository • Mailinglist: general@lists.ops4j.org Monday, June 22, 2009 OSGi DevCon Europe Zurich, June 22nd, 2009. Filmcity, Track 1 2009 - OPS4J - Open Participation for Java - Community - Toni Menzel - toni@okidokiteam.com