Content deleted Content added
m r2.7.2) (Robot: Adding hu:Java remote method invocation |
Phoenix720 (talk | contribs) m style |
||
Line 21:
The following classes implement a simple client-server program using RMI that displays a message.
'''<code>RmiServer </code> class''' —
<source lang=java>
Line 77:
</source>
'''<code>RmiServerIntf </code>
<source lang=java>
Line 88:
</source>
'''<code>RmiClient </code> class''' —
<source lang=java>
Line 131:
Note that since version 5.0 of J2SE support for dynamically generated stub files has been added, and rmic is only provided for backwards compatibility with earlier run times.<ref>{{cite web|title=Jave RMI Release Notes|url=http://docs.oracle.com/javase/1.5.0/docs/guide/rmi/relnotes.html|publisher=Oracle|accessdate=9 May 2012}}</ref>
'''<code>server.policy</code>''' —
<source lang=java>
Line 145:
</source>
'''<code>client.policy</code>''' —
<source lang=java>
grant {
Line 153:
</source>
'''<code>no.policy</code>''' —
<source lang=java>
|