Access Java RMI from .NET.

I have an existing Java system that uses RMI. I do not have access to modify this system.

I want to be able to call RMI api methods directly from .NET. What is the best way to do this? Free or low cost is preferred if its third-party component.

thanks

+4
source share
3 answers

The best thing would be to build a Java facade for an existing system that will talk to it using RMI, and on the other hand to provide something more standard - web services or, possibly, REST.

An added benefit of this approach is the protection that it gives you against outdated application errors and incorrect design decisions. For example, if there are any ugly workarounds you need to make to call an existing application, they can be safely hidden at the facade level without compromising the creation and integrity of the new application you are writing.

+3
source

I am not sure about .Net + RMI. However, it should be possible to build a Java component that talks to the RMI service and invoke this Java component from .Net using one of the supported mechanisms.

An article about calling Java from .Net

+1
source

You must have access to EJB using CORBA

Have a look here: http://weblogic.sys-con.com/node/42640 Old, but very local.

+1
source

All Articles