The following little example uses a so called foreign class loader that is responsible for a given namespace, in this case net.xp_framework. This class loader is registered within the default Stubbles class loader. After that, all classes that reside in the namespace where the foreign class loader is responsible for will be loaded via this class loader.
The method they use is simple - seven lines of code simple. It loads in the class file using the load() functionality of the Stubbles framework making it so it can be called natively after creating an object for it.