O'Reilly logo

The Definitive Guide to NetBeans™ Platform by Heiko Boeck

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Lookup: Let's Talk to Other Modules!

Lookup is a concept that is as important as it is simple. Used in many places within NetBeans Platform applications, it allows modules to communicate with each other. This chapter shows how the concept works.

Functionality

Lookup is a central component and a commonly used concept in the NetBeans Platform for the management of object instances. Simplified, Lookup is a Map, with Class objects as keys and instances of those Class objects as values.

The main idea behind Lookup is decoupling components. It lets modules communicate with each other, which plays an important role in component-based systems, such as applications based on the NetBeans Platform. Modules provide objects via Lookup, as well as searching ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required