How Introspection Works

Introspection is a special utility for JavaBeans that uses Reflection to determine the contents of a bean. As you probably know, JavaBeans are just Java classes that use specific naming conventions to support properties, methods, and events.

JavaBeans is Sun's answer to Microsoft's ActiveX controls, which coincidentally support properties, methods, and events. One of the differences between JavaBeans and ActiveX controls is that JavaBeans don't require any additional description files. ActiveX controls often use Interface Definition Language (IDL) files to define interfaces at compile time and have type libraries (essentially compiled IDL files) to define interfaces at runtime. Micro soft's .Net framework is moving away ...

Get Special Edition Using Java™ 2 Enterprise Edition 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.