Re: java.rmi support inside Visual J# .NET

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: bruce barker (nospam_brubar_at_safeco.com)
Date: 11/30/04


Date: Mon, 29 Nov 2004 17:42:50 -0800

no.

one of the key design decisions of the .net CLR was not to require the jit
to recompile code that has already been compiled. the CLR design team
thought that this java feature was too expensive a jit/vm feature.

the rmi library requires this feature so it cannot be done in j#. when you
reference a rmi object, the calling code is recompiled so it can talk to the
new downloaded rmi proxy.

you will have to replace the rmi code with a j# supported version, such as
web services with prebuilt proxies. if you need discovery mode, then you can
also switch to web services, but calling them natively is a lot more
complex.

-- bruce (sqlwork.com)

"Nainesh Jhaveri" <Nainesh Jhaveri@discussions.microsoft.com> wrote in
message news:108F4B9C-EF15-45CA-AC74-C8F9C3B18CC2@microsoft.com...
| I have a ton of Business logic writter in Java, which I am trying to
expose
| to .NET platform using Visual J#. NET.
|
| The java code is making extensive use of java.rmi.* package.
| but, the latest version of Visual J#. NET is not supporting the same.
|
| Is there a way to make this happen.
| Does any one have any information on migrating java RMI code into .NET
| platform.
|
| Thanks in advance for any help



Relevant Pages

  • Re: getting round multiple inheritance
    ... As java doesnt allow multiple inheritance, I can't use Observable as well as RMI. ... In Java you use interfaces as a sort of replacement for multiple inheritance. ...
    (comp.lang.java.programmer)
  • Re: .NET possible death !!!
    ... >>native Corba, etc. in NET. ... >>distributed in Java, I have RMI, EJB, JMS, Corba, or Web Services. ... You can choose EJBs, ...
    (borland.public.delphi.non-technical)
  • Re: How to call a method from DOS
    ... > various shut down functions is by calling doQuit. ... You make your application into an RMI ... server, register it with rmiregistry, then another Java application can ... invoke methods in your application using RMI. ...
    (comp.lang.java.help)
  • Re: Java Applications talking to each other - best way
    ... RMI allows you to use remote Java Objects seamlessly. ... SOAP is sessionless and as such holds no remote objects for you. ... CORBA is similair to RMI but only necessary if you want to communicate to ...
    (comp.lang.java.programmer)