A.3. Platform Impedance

This section describes the facets of the COM and Win32 platforms that make interoperation with Java difficult. Table A-1 summarizes the chief sources of platform impedance. The COM approach is explored in more detail in §A.4, and the Win32 approach is discussed in §A.5. This is obviously not a complete introduction to these complex technologies. For more on COM see [Box98]; for more on Win32 see [Ric99].

Table A-1. Platform Impedance: Java, Win32, and COM
Concern Java Approach Win32 Approach COM Approach
Loader architecture Class loaders Explicit paths Registry lookup
Metadata/Type info Extensive Minimal Partial
Object lifecycle management Implicit, GC Explicit and ad hoc Explicit and reference-counted
Type discovery

Get Component Development for the Java™ Platform 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.