Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Koila Malik   on Feb 09 In Java Category.

  
Question Answered By: Sebastien Anderson   on Feb 09

If you use J2SE 5 or higher version, it is not needed to use rmic to pregenerate stubs.
You can run  rmiregistry in your code, so it is not necessary to run rmiregistry before running  your app. The code looks like this:
LocateRegistry.createRegistry(int port);

Share: