EclipseCon 2007 March 5-8, Santa Clara California





Getting Hooked on the Equinox Framework

Thomas Watson (IBM), Chris Laffra (IBM Rational)

· Demo

Tuesday, 10:10, 50 minutes | Room 206

7
·
8
·
9
·
10
·
11
·
12
·
13
·
14
·
15
·
16
·
17
·
18
·
19

Chris Laffra

The Equinox OSGi Framework is a powerful platform that provides the base for the Eclipse runtime platform. Eclipse is all about adding extensions, and the Equinox OSGi framework follows the same paradigm. It has been been designed fully with extensibilty in mind allowing the installation of adaptor hooks to augment the framework with additional function.

Adaptor hooks can be used to do many powerful things. For example, adaptor hooks can be used to change how classes and resources are loaded, how bundles are stored on disk, provide additional diagnostics etc. Eclipse plugs into Equinox using this very same mechanism, and anyone can easily specify their own adaptor to compliment, improve, or even completely replace the default Equinox hook implementations.

In this demo, we will dive into the details of the adaptor hook architecture, show how adaptor hooks are configured and demonstrate real adaptor hooks in a live coding session. We will show various examples, such as an adaptor hook that uses special characteristics offered by the IBM J9 virtual machine to load classes from a memory mapped archive (JXE) or from shared memory (using shared classes). Furthermore, we will demonstrate how an OSGi adaptor can be used to easily monitor OSGi applications and how an adaptor can even be used to implement a full virtualization layer. We will also show other successful adaptors, in particular the one developed by the Eclipse aspect-oriented project. After attending this demo, attendees will know how to write their own OSGI adaptor, how to configure the platform, and how to replace and/or compliment the default Equinox adaptor hooks with their own policies for class and resource loading.

Tom has 9 years of experience as an IBM software architect and developer, and is currently working for IBM Lotus. Focus is on modularity and OSGi Framework design and development. He is the lead developer for the Equinox OSGi Framework implementation in Eclipse. He is a participant in the OSGi specification process. In particular, he has participated in specifying the modularity features of the OSGi R4 and R4.1 specification. He has a Bachelor of Science in Computer Science from the University of Texas El Paso.

Chris was born in The Netherlands, obtained a MsC at the Vrije Universiteit of Amsterdam and a PhD at the Erasmus University of Rotterdam. At both IBM T.J. Watson Research Center and Morgan-Stanley, Chris worked on tools for user interfaces, component infrastructures, program analysis, debugging, visualization, compression, and optimization. He led the OTI Amsterdam lab for 3.5 years, working on WebSphere Studio Device Developer. He worked with IBM Rational in Ottawa on Java runtimes and Eclipse and in RTP on Eclipse Performance. Currently he works on EGL, IBM's 4GL solution.

Floor Plan

Gold sponsors

Ingres logo

BEA logo

IBM logo

Business Objects logo

Klocwork logo

Windriver logo

Red Hat logo

Actuate logo

Silver sponsors

Compuware logo

Sybase logo

Google logo

Nexaweb

Activegrid

Genuitec

Instantiations

Cloudsmith

Code Gear

ACCESS

Oracle

Telelogic

Innoopract logo

Lynux Works

Media sponsors

Eclipse Magazine logo

GoingtoMeet.com logo

Methods and Tools logo

Eclipsezone logo

Addison-Wesley logo

Eclipse Magazin logo

Embedded Computing logo

SD Times logo

Enterprise Open Source logo

ACM Queue logo

TheServerSide Java Symposium

Eclipse Review logo

Software Test & Performance logo

Eclipse Developers Journal logo

Eclipse Source logo