File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help me ;

 
wux bill
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13459
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome!

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

Dave
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic