Talk:Java remote method invocation

Sources

Can some one provide Link to useful materail on EJB's (for Starters.. may be some overview kind of a thing)

Try our Enterprise JavaBeans article? - IMSoP 19:59, 26 September 2005 (UTC)[reply]

Improvements

I can see some places where this article could be improved

  • how RMI works (the daemons threads, distributed GC, serialization, dynamic classload)
  • some sample code
  • Uses of RMI (e.g. Jini, EJB2.x)
  • Politics: How MS dropped RMI from their MSJVM machine because DCOM was all you need.
  • Issues/limitations of RMI. brittleness of interfaces/serializations, incoming calls on different threads and its implications for deadlock.
  • Issues/Limitations of the official RMI implementation. Its Distributed GC algorithm, lack of layering/extensibility, security model.

What we have here is a good start to an article, but it is just a start. SteveLoughran 11:56, 27 February 2007 (UTC)[reply]

Agreed. The article needs expansion. In particular, the definition of RMI is given only in reference to its mainframe corollary, RPC, rather than being defined in terms of what RMI is. —Preceding unsigned comment added by 63.72.235.4 (talk) 16:41, 14 May 2008 (UTC)[reply]

rmic

If I'm not mistaken, Java 5.0 does NOT automatically compile stubs for server classes. You still need to use the rmic command, as else, it won't find your stub. Can anyone confirm this?

It isn't true. "Dynamic Generation of Stub Classes (since 5.0)" See: http://java.sun.com/javase/6/docs/technotes/guides/rmi/relnotes.html —Preceding unsigned comment added by 84.244.115.98 (talk) 10:12, 9 January 2008 (UTC)[reply]

SabbeRubbish 13:12, 4 October 2007 (UTC)[reply]

Steps to executing the RMI Programme into your computer machine

Here I'm giving steps which is follow to execute the RMI Programme into our local machine:-

1). Compile Interface File , Server File, Client File and Registry File with your JDK softee. ex.

      javac *.java


2). Use RMIC command for creting Stubs and Skeleton.

      rmic serverFile Name


3). Start RMI regisetry which is the part of yur JDK Softeee.

   JDK path's in your machine:-
    C:/ProgrameFiles/JAVA/Jdk1.6.0/bin/rmiregistry.exe
    Allow your firewall to allow that particular application for run it execution..
    start rmiregistry (a command prompt will be open which having blank screen)


4). Run that Registry File.

    java registerIT.java

5). After that open new command Prompt

6). The enter this command into your command promt

  C:/> java.exe -Djava.security.policy=registerIT.policy Client File Name (*HelloClient)

Note:-

Here I'm writing HelloClient due to my client file name start with "HelloClient" —Preceding unsigned comment added by Aaditya025 (talkcontribs) 06:38, 1 September 2010 (UTC)[reply]

Example: Java conventions

Just noticed in the example the use of the name "RmiServerIntf" for an Interface. Shouldn't it be replace by "IRmiServer" or something? 178.1.248.111 (talk) 13:03, 5 August 2012 (UTC)[reply]

Java Version

I noticed that the link for the java.rmi package leads to the Javadoc for Java 19 and wanted to fix that, but it looks like it uses a placeholder (Javadoc:SE) and I'm a Wiki-noob, so I don't know where that's defined. Can someone let me know or update it? If updating every six months is a hassle, I recommend to link to Java 21 as it's the most recent release with LTS (if you read this after late September 2025, it's Java 25). — Preceding unsigned comment added by 185.104.138.52 (talk) 08:35, 28 January 2025 (UTC)[reply]

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.