Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

RMI ,still in dark!

 
Jones Iraland
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please can someone be able to tell me,how to test RMI programs?
Do i need to have a different machines for it?if so,what should i do to connect them and run the codings?

Thankx in advance
 
Jeff Storey
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jones,

You don't need two machines to test, you can simply run two java applications (the client and the server) on the same machine. However, you may want to consider testing across two machines if possible to make sure you don't have any firewall/network issues.

Jeff
 
Jones Iraland
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But doesn't it need two JVM'S?
 
Mark Vedder
Ranch Hand
Posts: 624
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes; but as long as you start applications separately, they will run under different JVMs. A system can have numerous JVMs running on it. If you start these via a command line, just open two separate command lines to start them (or start each as a background task).
[ May 15, 2008: Message edited by: Mark Vedder ]
 
Jones Iraland
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks guys for all the help...
cheers
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!