• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hardware requirements

 
Simon Ingram
Ranch Hand
Posts: 173
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
In order to develop and test a typical SCJD Project, will I need two computers networked together, or can I develop the whole thing on a stand alone PC?
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can first develop the system in standalone mode, i.e. the client and server using the same JVM. Then, you can build the RMI/Socket connection in the same machine as well. For my case, I used localhost/127.0.0.1 to connect. After the development completes, you can try to find another machine to test the "real" network connectivity.
Hope this help.
Nick.
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12014
220
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Simon,
It is better to test on multiple machines and different operating systems, but it is not required. If all you have is a single PC, you should be able to test without problems using loopback.
Regards, Andrew
 
Simon Ingram
Ranch Hand
Posts: 173
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, guys.
Simon
 
Terry Martinson
Ranch Hand
Posts: 293
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Simon -
If you end up just testing on one machine, be careful of the difference between Unix and Windows path separator which specifying file locations.
May have to use something like this if you are building up a file location name: System.getProperty("file.separator")
(This is the only tricky thing I have heard about so far, but there may be more. I hope not though, because I may be stuck just testing on Windows.)
TJ
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic