Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to run RMI in NetBeans?

 
Yohan Weerasinghe
Ranch Hand
Posts: 507
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I just want to know how to run RMI programs in NetBeans. I went through several articles but nothing helped because most of they are related to the older versions, but I am using 7.0.1. Does Netbeans automatically create RMIREGISTRY? Please help. I really want to run them in NetBeans. Thanks
 
Yohan Weerasinghe
Ranch Hand
Posts: 507
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please help
 
Yohan Weerasinghe
Ranch Hand
Posts: 507
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No One?
 
Haina Minawa
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yohan Weerasinghe wrote:Hi,

I just want to know how to run RMI programs in NetBeans. I went through several articles but nothing helped because most of they are related to the older versions, but I am using 7.0.1. Does Netbeans automatically create RMIREGISTRY? Please help. I really want to run them in NetBeans. Thanks


Running RMI programs does not depend on a particular IDE. It involves two steps:
- Run the server application which creates the RMI registry.
- Run the client application.
 
Yohan Weerasinghe
Ranch Hand
Posts: 507
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Haina Minawa wrote:
Yohan Weerasinghe wrote:Hi,

I just want to know how to run RMI programs in NetBeans. I went through several articles but nothing helped because most of they are related to the older versions, but I am using 7.0.1. Does Netbeans automatically create RMIREGISTRY? Please help. I really want to run them in NetBeans. Thanks


Running RMI programs does not depend on a particular IDE. It involves two steps:
- Run the server application which creates the RMI registry.
- Run the client application.


Thanks a lot for the reply. I waited for a long time for an answer. I create RMI registry using command prompt. What I do is typing "start rmiregistry" command there. How to create a RMI registry using code?
 
Haina Minawa
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yohan Weerasinghe wrote:

Thanks a lot for the reply. I waited for a long time for an answer. I create RMI registry using command prompt. What I do is typing "start rmiregistry" command there. How to create a RMI registry using code?


It is pretty simple:

 
Yohan Weerasinghe
Ranch Hand
Posts: 507
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Haina Minawa wrote:
Yohan Weerasinghe wrote:

Thanks a lot for the reply. I waited for a long time for an answer. I create RMI registry using command prompt. What I do is typing "start rmiregistry" command there. How to create a RMI registry using code?


It is pretty simple:



Thanks a lot to you. I will check this and will comment back.
 
Yohan Weerasinghe
Ranch Hand
Posts: 507
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just checked the code.. It worked perfectly... Thanks a lot!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic