wood burning stoves*
The moose likes Distributed Java and the fly likes Help me ; Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Help me ;" Watch "Help me ;" New topic
Author

Help me ;

wux bill
Greenhorn

Joined: Nov 10, 2005
Posts: 5
first thank you for your coming;
I am a frshman in java;
I have learned java for about one year.
now I am leaning << Distributed Programing with java>> ( The author is Qusay H.Mahmoud >>
My problem is should I need two computer to learn that?
this nignt I run a serverSocket program and a ClientSocket program
It thows NullPointerException;
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Welcome!

We have a forum for Distributed Computing, so I will move your thread there.

Dave
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

No, you do not *have* to have 2 computers to use distributed java (of any kind ports/sockets, RMI, CORBA, etc.) - you can use it to talk between 2 JVMs on one machine.

Sorry, the NullPointerException is from something else

But I'm sure you can get help on whatever the real problem is, too - can you post the stack trace of your NullPointerException, and the line of code it occurrs on?


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
GeeCON Prague 2014
 
subject: Help me ;