How to run server and client program in my PC [message #138042] |
Fri, 17 February 2006 06:27  |
Eclipse User |
|
|
|
Originally posted by: brainfreezees.yahoo.com
Hello,
May i know how do i run a server program, and then the client program in
my laptop? Does Eclipse have the ability to provide the platform for this
performance (providing a pseudo-network)?
I am new to Eclipse, thus I am not very familiar with the functionality of
it.
Please email me for your suggestions and instructions that I can follow in
order to solve my queries.
Many Thanks!!!
|
|
|
Re: How to run server and client program in my PC [message #138282 is a reply to message #138042] |
Fri, 17 February 2006 08:47  |
Eclipse User |
|
|
|
Originally posted by: a.b.com
There are two parts to the answer:
You can access a server running on your own machine by using localhost as
the hostname or 127.0.0.1 as the IP address. So for example a web server
running on your machine would be accessed as http://localhost or, if it was
listening on something other than port 80, you would use
http://localhost:9080 or whatever the port number is. This is how WTP (the
Web application development framework built on Eclipse) accesses the
built-in Tomcat application server.
As for developing both a client and a server on the same machine, I'd be
tempted to run two copies of Eclipse with two different workspaces, ideally
with two displays (yes, I know, not so easy on a laptop). You need plenty
of memory to run like this, I'd suggest 2GB, but it's perfectly viable.
|
|
|
Powered by
FUDForum. Page generated in 0.10156 seconds