*
The moose likes Distributed Java and the fly likes two approachs to generate stub , both works well during run time Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "two approachs to generate stub , both works well during run time " Watch "two approachs to generate stub , both works well during run time " New topic
Author

two approachs to generate stub , both works well during run time

walter wang
Ranch Hand

Joined: Jun 02, 2001
Posts: 150
Hello i am playing around with RMI IIOP tutorial
http://java.sun.com/j2se/1.4.2/docs/guide/rmi-iiop/tutorial.html
i have HelloInterface.java (remoteinterface)
and its implementation HelloImpl.java as below shows
i found i could generate stub by both ways
either rmic -iiop HelloInterface
or rmic -iiop HelloImpl
both works fine. i mean during run time.
then should we genearte stub again implementation class or remote interface on earth ?

[ January 04, 2004: Message edited by: Michael Ernest ]

public class Walter { public boolean is_Working_Now (boolean is_boss_Coming) { return is_boss_Coming; }
Michael Ernest
High Plains Drifter
Sheriff

Joined: Oct 25, 2000
Posts: 7292

I've added UBB CODE tags to make the sample code easier to read.
This post fits better in Distributed Java so I'll move it there.


Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
 
Consider Paul's rocket mass heater.
 
subject: two approachs to generate stub , both works well during run time
 
Similar Threads
how to get Clients CPU information on Server using Java RMI
Is it possible to use the wscompile tool from the Command Prompt
Can we pass this object on wire?
Applet with RMI ,how to place into Tomcat?
Problem Executing RMI-IIOP Example : Provided by Sun