Alejandro Barrero wrote:Thank you very much for your prompt reply. I have learned that I can execute functions in another language using JNDI and I have also been reading about JNA. I understand that I can execute functions from a DLL or a lib and I could probably code to that; but I am faced with a situation where I have to execute a method from an instance of an object and I am at a loss.
First, I don't think that JNDI is an option here. JNDI is used to get object stubs for application server objects, or services (such as CORBA) objects. I don't think that there is an implementation of JNDI that will return object stubs for .NET components. I may be wrong here, so feel free to examine some more -- but I don't know of such an implementation.
As for JNI (and maybe JNA), these are low level libraries that get you from Java to another language. With this, you can get to what you want, however, you need to implement wrapper stuff. In other words, you need to implement your own object stubs.
Henry