Chapter 22. Dynamic Plug-ins

Applications are often dynamic. New functions are added, old functions are removed, but the system keeps running. We saw this in Chapter 21, “Installing and Updating Plug-ins,” with the dynamic installation of MUC capabilities into Hyperbola. The Eclipse Runtime and OSGi enable this kind of behavior and the RCP base plug-ins tolerate it, but the ability does not come free—you must follow certain practices to make the most of these scenarios.

This chapter discusses the unique challenges presented to plug-in writers as they attempt to handle the comings and goings of plug-ins in the environment—dynamic tolerance. We first look at Hyperbola as an example of dynamic tolerance. With that as a base, we identify some common ...

Get Eclipse Rich Client Platform: Designing, Coding, and Packaging Java™ Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.