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 tutorial, 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 bundles. We will also show other successful adaptors. 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.
Thomas co-leads the Equinox Project at Eclipse. Thomas has 10 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.
Jo is Director Mobile Solutions at ProSyst Software, Germany. He has been working on commercial OSGi solutions for more than 6 years. Jo and his team have created the first productive Mobile OSGi / JSR 232 systems. Prio to his time at ProSyst, Jo was Software Engineer at Braun/Gilette. Jo graduated in Electrical Engineering so as in Business Administration.