Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

LocateRegistry  RSS feed

 
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!