Content deleted Content added
Clarified current usage of rmic |
|||
Line 124:
</source>
Before running this subj, we need to make 'Stub' file of interface we used. For this task we have the RMI compiller - 'rmic'
*Note: we make stub file from *.class with implementation remote interface, not '*.java'*
<source lang=dos>
rmic RmiServer
</source>
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>'''—This file is required on the server to allow TCP/IP communication for the remote registry and for the RMI server.
|