• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to write ourown stubs in java..

 
karthick chinnathambi
Ranch Hand
Posts: 196
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
could anyone tell me the procedure to write our own stubs instead of the "rmic-compiled" ones........

is it possible.....?

please quote me the web references if possible.....


thanks in advance....
 
Nitesh Kant
Bartender
Posts: 1638
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why do you want to do that?
 
karthick chinnathambi
Ranch Hand
Posts: 196
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

just out of interest......

to know more on RMI......

is it that difficult ?
i have no idea about how to write stubs......

forgive me if i am wrong........
 
zul' Zorander
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As of the J2SE 5.0 release, stub classes for remote objects no longer need to be pregenerated using the rmic stub compiler, unless the remote object needs to support clients running in pre-5.0 VMs. If your application needs to support such clients, you will need to generate stub classes for the remote objects used in the application and deploy those stub classes for clients to download. For details on how to generate stub classes, see the tools documentation for rmic [Solaris, Windows]. For details on how to deploy your application along with pregenerated stub classes, see the codebase tutorial.

This is from the web page http://java.sun.com/j2se/1.5.0/docs/guide/rmi/hello/hello-world.html
Hope this helps

Regards
Zeddicus
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!