• Post Reply Bookmark Topic Watch Topic
  • New Topic

LocateRegistry

 
Pallav Grigo
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi..I have a question about using the LocateRegistry class..is it ok if I start the registry through java code rather than launch in a separate console window?? i think it simplifies the server starting process and makes it more user-friendly...is this feasible?? please comment.. i ask the administrator which he wants to use and then call
Registry r = Registry.createRegistry(int port)
r.rebind("serviceName", server);
Regards
Pallav.
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Go for it. I'd say it is the better way.
Mark
 
Curse your sudden but inevitable betrayal! And this tiny ad too!
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!