Alan,
I believe Java has the ability to export classes into COM objects. I
would do that. However, I can't imagine it would be too fast, since you are
going to interop through to unmanaged code on the .NET side, and then
marshal from COM to the java runtime.
If the document format is known, you might have better performance
manually creating the file yourself (if this is an issue for you, that is).
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Alan Wang" <wa**@vdata.com> wrote in message
news:uN**************@TK2MSFTNGP09.phx.gbl...
Hi there:
I am just wondering if I could call java library using C#. The reason to
do that is my application wants to automate OpenOffice and create
document.
Thanks in advance
Alan