Tuesday, July 24, 2007

How to start RMIRegistry programmatically

I often face with the necessity of programmatical RMI registry starting. So, this is a solving:

try {
    java.rmi.registry.LocateRegistry.createRegistry(1099);
    System.out.println("RMI registry ready.");
} catch (Exception e) {
    System.out.println("Exception starting RMI registry:");
    e.printStackTrace();
}

9 comments:

Akinwale Ifaniyi said...
This comment has been removed by the author.
Akinwale Ifaniyi said...

Glad I found this when I did... Saved me hours of debugging. Thanks.

for IT the said...

Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Java developer learn from Java Training in Chennai. or learn thru Java Online Training in India . Nowadays Java has tons of job opportunities on various vertical industry.

Aliya Manasa said...

Your good knowledge and kindness in playing with all the pieces were very useful. I don’t know what I would have done if I had not encountered such a step like this.
python Training in Pune
python Training in Chennai
python Training in Bangalore

ragini ragini said...

Have you been thinking about the power sources and the tiles whom use blocks I wanted to thank you for this great read!! I definitely enjoyed every little bit of it and I have you bookmarked to check out the new stuff you post
Best Devops Training in pune
Devops Training in Bangalore
Power bi training in Chennai

priya said...

This is a good post. This post give truly quality information. I’m definitely going to look into it. Really very useful tips are provided here. thank you so much. Keep up the good works.
Data Science course in rajaji nagar
Data Science with Python course in chenni
Data Science course in electronic city
Data Science course in USA
Data science course in pune | Data Science Training institute in Pune
Data science course in bangalore

Balaji said...

All are saying the same thing repeatedly, but in your blog I had a chance to get some useful and unique information, I love your writing style very much, I would like to suggest your blog in my dude circle, so keep on updates.


Uipath Course in Chennai
AWS Course in Chennai
Blue Prism Course in Chennai

IT Tutorials said...

Really useful information. Thank you so much for sharing.It will help everyone.Keep Post. RPA training in chennai | RPA training in Chennai with placement | UiPath training in Chennai | UiPath certification in Chennai with cost

Sadhana Rathore said...

Great collection and thanks for sharing this info with us. Waiting for more like this.
AWS Training in Chennai
AWS Certification in Chennai
Cloud Training in Chennai
Cloud Computing Courses in Chennai
Azure Training in Chennai
Microsoft Azure Training in Chennai
DevOps course in Chennai
Cloud Computing Courses in Chennai