Jump to content

Talk:Java remote method invocation

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by SineBot (talk | contribs) at 06:41, 1 September 2010 (Signing comment by Aaditya025 - "Steps to executing the RMI Programme into your computer machine: new section"). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
WikiProject iconComputing: Software Stub‑class
WikiProject iconThis article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
StubThis article has been rated as Stub-class on Wikipedia's content assessment scale.
???This article has not yet received a rating on the project's importance scale.
Taskforce icon
This article is supported by WikiProject Software.
WikiProject iconComputer science Stub‑class
WikiProject iconThis article is within the scope of WikiProject Computer science, a collaborative effort to improve the coverage of Computer science related articles on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
StubThis article has been rated as Stub-class on Wikipedia's content assessment scale.
???This article has not yet received a rating on the project's importance scale.
Things you can help WikiProject Computer science with:

WikiProject iconJava Stub‑class Mid‑importance
WikiProject iconThis article is within the scope of WikiProject Java, a collaborative effort to improve the coverage of Java on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
StubThis article has been rated as Stub-class on Wikipedia's content assessment scale.
MidThis article has been rated as Mid-importance on the project's importance scale.
Note icon
This article has been automatically rated by a bot or other tool because one or more other projects use this class. Please ensure the assessment is correct before removing the |auto= parameter.

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]

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"

Written By Aaditya Maheshwari —Preceding unsigned comment added by Aaditya025 (talkcontribs) 06:40, 1 September 2010 (UTC)[reply]