Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
walter wang
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic