Download presentation
Presentation is loading. Please wait.
Published byEustacia Charles Modified over 8 years ago
1
Swing OSGi Modular Desktop Application Framework Jaroslav Tulach, Oracle Anton Epple, Eppleton
2
2 Agenda Platform vs. IDE OSGi for Developers OSGi for NetBeans NetBeans 6.9 IDE interoperability Q&A
3
3 NetBeans Platform The only Swing based Modular Rich Client Framework http://platform.netbeans.org
4
4 NetBeans IDE Built on top of NetBeans Platform http://www.netbeans.org
5
5 OSGi for Developers OSGi - de-facto modularity standard – Developers demand support Maven – gaining attention – First class citizen in NetBeans – 5% of Maven packaging is OSGi already General OSGi – Stick to OSGi 4.x specification – Reuse OSGi experts work – Execution in Apache's Felix http://statistics.netbeans.org/analytics/graph/maventypes.jsp
6
6 Demo Maven & OSGi
7
7 OSGi for NetBeans Solution vs. content provider – Keep the brand – Get the content for “free” IDE Interoperability – Want a library? – Get all its environment too! Common Ground – Understand OSGi – OSGi as de-facto standard
8
8 Step by Step Implement OSGi interoperability – Provide the common ground Enable it for NetBeans Platform – Users can test it Reuse other IDE's bundles – Lead by example Engage partners – Teach writing of sharable code
9
9 NetBeans 6.9 Theme NetBeans Platform Perception – Standard UI - Swing – Non-standard module system OSGi interoperability – Single most requested feature – Reuse existing bundles – Run own bundles on server/client side – Use NetBeans APIs in OSGi mode – Adhere to standard Support development with OSGi
10
10 NetBeans & OSGi “Netigso” Bridge – Compatibility #1 goal – Felix or Equinox supported
11
11 OSGi for Platform Developers NetBeans Platform accepts OSGi – Mixure of “classical” and OSGi projects Ant – Import & limited creation – “Don't want to be OSGi experts” Maven – Develop OSGi as usual – Easily include OSGi projects
12
12 Exploring developer needs NetBeans APIs for OSGi – without our runtime – In any OSGi container – Platform APIs converted – More to come in future Ant – Run in OSGi mode Maven – Exposing a repository – Use “plain” OSGi artifacts
13
13 Demo NetBeans Platform Application on Felix
14
14 Using standard OSGi Services HTTPService dOSGi
15
15 Demo Embedded Server Sudoku dOSGi
16
16 Questions & Answers? OSGi happened – De-facto standard module system Swing – Standard UI toolkit NetBeans Platform – Common Ground for Swing and OSGi – Interoperability
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.