M
Mick
I wrote a C# program that interfaces with a data vendor over the web
using an API they supplied and their examples in C#.
Now I have another data vendor's API and example that I want to add to
my C# program. But this new API is written in Java. They gave me an
example source code that uses their API but the actual API looks like it
is stored in a few .jar files. I unzipped those .jar files into many
.class files. I think these .class files are kind of like Java's
version of compiled .dll files or library files, right? Anyway they are
not source code.
I can convert the example into C# using the "Conversion Assistant" in
.NET. But then it can't access any of the libraries in the actual API.
I don't know anything about Java except for what I have tried to glean
from this newsgroup. I would like to convert the Java API to C# but it
looks like that is not possible, right? Or I would like to access those
.class files from C#, but again, I guess this is not possible. I read
somewhere that those .class files can be converted to COM files and then
access from C#, is this possible?
I downloaded j2sdk-1_4_2-nb-3_5_1-bin-windows.exe from Sun's website. I
guess I could convert my C# program to Java but then I probably won't be
able to access the first vendor's API that is using .NET their .dll.
Sorry if I'm not making much sense here, I'm so confused. Does anyone
have any suggestions?
Thank you,
Mick
using an API they supplied and their examples in C#.
Now I have another data vendor's API and example that I want to add to
my C# program. But this new API is written in Java. They gave me an
example source code that uses their API but the actual API looks like it
is stored in a few .jar files. I unzipped those .jar files into many
.class files. I think these .class files are kind of like Java's
version of compiled .dll files or library files, right? Anyway they are
not source code.
I can convert the example into C# using the "Conversion Assistant" in
.NET. But then it can't access any of the libraries in the actual API.
I don't know anything about Java except for what I have tried to glean
from this newsgroup. I would like to convert the Java API to C# but it
looks like that is not possible, right? Or I would like to access those
.class files from C#, but again, I guess this is not possible. I read
somewhere that those .class files can be converted to COM files and then
access from C#, is this possible?
I downloaded j2sdk-1_4_2-nb-3_5_1-bin-windows.exe from Sun's website. I
guess I could convert my C# program to Java but then I probably won't be
able to access the first vendor's API that is using .NET their .dll.
Sorry if I'm not making much sense here, I'm so confused. Does anyone
have any suggestions?
Thank you,
Mick