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

Help me ;

wux bill

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

Joined: Mar 06, 2001
Posts: 13459


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

Nathan Pruett

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?

Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I agree. Here's the link:
subject: Help me ;
It's not a secret anymore!