Java API with C#

  • Thread starter Thread starter Abdessamad Belangour
  • Start date Start date
Abdessamad,

I don't believe that you can access Java directly. However, I do
believe that you can export Java classes as COM components (I believe there
is an ActiveX bridge). If you do this, then you can import those COM class
definitions into .NET and then use them. However, the performance from
going Java -> COM -> .NET is going to be much worse than if you were just
going from COM -> .NET.

Hope this helps.
 
Abdessamad Belangour said:
Hi all,
Is there any way to use a Java API with C# ?
Thanks.

If you can locate an October 2003 Issue
(Volume 21, Number 10) of the
C/C++ Users Journal the following may be of
interest:

A .NET Bridge to a Java Virtual Machine
Jean-Yves Mengant
Java and .NET interoperability, with a little help from C++.

http://www.cuj.com/articles/2003/0310/

A search on groups.google.com may yield an e-mail
for the author of the article.

Just keep in mind that running .NET and the JVM on
the same machine isn't going to win any
performance awards.
 
Hi --

JNBridge will do this for you. See www.jnbridge.com, or contact me for more
information.

Regards,
Wayne
____________________________________

Wayne Citrin
JNBridge, LLC
(e-mail address removed)
www.jnbridge.com
Spanning the Worlds of Java and .NET
____________________________________
 
Back
Top