File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • 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
  • 0
  • 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
  • 0
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic