Minimize Ja.NET Forums
 
  Ja.NET Forums  Ja.NET SE  Using  Remoting RMI
Disabled Previous
 
Next Next
New Post 12/17/2008 5:19 AM
  daniel.manzke
7 posts
No Ranking


Remoting RMI 

 Hi,

in the next time I will give Java.NET a try. We have developed a java application which uses RMI for its connectors. I saw in your Documentation that you have implemented the java.rmi package. So is it possible to run a java application on .NET and use the Java RMI features?

So I could run the server with .NET and its features and connect with a normal Java RMI application?

 

Thanks,

Daniel

 
New Post 12/17/2008 1:39 PM
  Dave
15 posts
No Ranking


Re: Remoting RMI 

Hi Daniel,

At this point, I have not started to work on the RMI portion of the Apache Harmony code at this point.  

The code is there and -builds for .NET, I just haven't tried to use it yet!  I have been working on other portions of the libraries at this point. 

 When I get a chance, I'll give it a try!

Dave

 
New Post 12/18/2008 1:44 AM
  daniel.manzke
7 posts
No Ranking


Re: Remoting RMI 
If I will get my system up and running, I will just try it. ;) Because running an application in .NET and using Java-RMI could be a killer app. ;) There is one company who has a Java-RMI Adapter, but I think they just implemented the RMI-Layer in .NET. (and it cost money :)) If you need help for testing/developing, I will see if I can find some time. ;) Bye, Daniel
 
New Post 12/18/2008 4:10 AM
  daniel.manzke
7 posts
No Ranking


Re: Remoting RMI 

Hi Dave,

I gave RMI try, but it didn't work. I get an unsatisfied link error. Maybe there are missing dlls of the harmony project. I will look if I have some time for researching.

 

Stacktrace:

java.lang.UnsatisfiedLinkError
        at java.net.OSNetworkSystem.createSocketImpl(Unknown Source)
        at java.net.OSNetworkSystem.createSocket(Unknown Source)
        at java.net.PlainSocketImpl2.create(Unknown Source)
        at java.net.Socket.startupSocket(Unknown Source)
        at java.net.Socket..ctor(Unknown Source)
        at org.apache.harmony.rmi.transport.tcp.DirectRMISocketFactory.createSoc
ket(Unknown Source)
        at org.apache.harmony.rmi.transport.DefaultRMISocketFactory.createSocket
(Unknown Source)
        at org.apache.harmony.rmi.transport.Endpoint.createSocket(Unknown Source
)
        at org.apache.harmony.rmi.client.ClientConnectionManager.getConnection(U
nknown Source)
        at org.apache.harmony.rmi.remoteref.UnicastRef.newCall(Unknown Source)
        at org.apache.harmony.rmi.remoteref.UnicastRef.invoke(Unknown Source)
        at org.apache.harmony.rmi.registry.RegistryImpl_Stub.list(Unknown Source
)

 

Best Regards,

Daniel

 
Disabled Previous
 
Next Next
  Ja.NET Forums  Ja.NET SE  Using  Remoting RMI
Syndicate