This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
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


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
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: 158
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
 
 
subject: two approachs to generate stub , both works well during run time
 
jQuery in Action, 3rd edition