Overview: Upgrading Java-Language/COM Components
Visual J# supports interoperability between managed applications and COM components. This support includes the ability to compile and run existing Visual J++ 6.0 components as well as newer code written to use .NET Framework interop semantics.
Therefore, managed applications and COM components are able to access each other's services. Subsequently, developers can combine the Java-language syntax with COM's advantages and develop applications that interact with operating system components, applications, and services written in any COM-compliant language on any platform.
For new applications, the recommended way to interoperate between COM components and managed code is to use the .NET Framework interop semantics provided by the common language runtime and tools. For more information about using the common language runtime semantics for COM interop, see Interoperating with Unmanaged Code.
Visual J# supports compiling and running Visual J++ 6.0 Java-language/COM components. This includes:
Support for most of the Java-language/COM interop scenarios and features available in Visual J++ 6.0 and the Microsoft® SDK for Java.
Source compatibility for Visual J++ 6.0 Java-language/COM applications, allowing them to be compiled and run with little or no source code changes. This includes being able to compile and run wrappers generated by the JActiveX™ tool in existing Visual J++ 6.0 applications and the @com directives found in these wrappers.
Visual J# does not guarantee complete source compatibility to compile and run all existing Visual J++ 6.0 Java-language/COM applications. See Unsupported Scenarios in Visual J# for more information.