.NET support

Version 5.5.0.1

The full Marvin Java API is available in .NET through JNBridge.

JNBridge is a third-party tool. It translates any Java APIs to .NET API, so Java libraries can be used from within .NET. (JNBridge is also capable to do the opposite: translates .NET API to Java. But this is irrelevant for the current discussion.) The JNBridge tool lets ChemAxon generate native .NET objects which act as proxies of Java objects ChemAxon's Java libraries. .NET programmers create in their code the generated proxies and use them without leaving the .NET programming space.

The mapping from Java API to .NET API is relatively straightforward with the two programming environments sharing the same basic types with similar behaviours. The higher level language constructs of C# and Java also show many similarities. Due to these considerations, we currently do not provide a separate .NET API documentation. (Admittedly, while a C# programmer will read Java API documentations with relative ease, a Visual Basic programmer has to make somewhat more effort to understand them.)

JNBridge is the product of JNBridge LLC. JNBridge LLC and ChemAxon are two distinct business entities. JNBridge LLC develops and owns the JNBridge product. ChemAxon tested JNBridge with its own products and decided to provide support to .NET programmers in using JNBridge to access ChemAxon Java libraries from within their .NET programs. ChemAxon distributes the runtime components of the JNBridge product for use with its own products and provides technical support for its own customers in case they have problems with the JNBridge product when used with ChemAxon's products.

You need the following components to run Marvin in a .NET runtime:

We provide two working examples demonstrating how to use Marvin components in a .NET application: the The .NET GUI examples demonstrate how to implement a .NET UserControl based on Marvin Java GUI components.