Re: Generating Stubs

Vinod Johnson - Sun Microsystems <[email protected]> Fri, 20 Apr 2007 08:00:00 -0400
Newsgroups gmane.comp.java.sun.rmi
Message-ID <[email protected]>
G.N.V. Jayprakash wrote:
> Hi,      I have a question: Should stubs be generated using rmic if the remote interface, implementation object and the invoking client are on the same system. I was trying to get a grasp of RMI and I was able to run the Hello World without generating stubs. I did not use rmic and yet I was able to successfully run the Hello World example. Please clarify. The jdk being used was 1.5.0_11-b03.      Thanks & Regards,Jayprakash
>
>
If you are only interested in 1.5 and higher, you don't need to
pre-generate stub classes - instead the implementation will dynamically
generate them at run time.
For more information, see:
http://java.sun.com/j2se/1.5.0/docs/guide/rmi/relnotes.html
--
- vinod

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff RMI-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

For a list of frequently asked RMI questions please refer to:
http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html

To view past RMI-USERS postings, please see:
http://archives.java.sun.com/archives/rmi-users.html