JAVA
CHAPTER 10
-----------------------------------------------------------------------
SLIDE #01 SERVER-SIDE NETWORKING
This chapter covers Server Side networking
This server accepts one connection, then echoes everything
it receives back to the client.
**********************************************************************
1. ACCESS TO SOURCE CODE AND INSTALLATION:
------------------------------------------
The following program is called Server.java. You can copy it from my
account, using the following path:
/home/jclevin/HTML/COURSE/JAVA/BOOK1/Server.java
Once you have copied it to your SCIS account, you can start it.
To start the server, you need to specify a port number (for example 9999)
on which the server will be listening. Type for example:
java Server 9999
**********************************************************************
********************************************************************
2. AS A CLIENT, you can use the following form, which is accessible
in my account, at:
http://scis.nova.edu/~jclevin/COURSE/JAVA/BOOK1/test.html
HTML FORM: test.html
--------------------
TEST
********************************************************************
********************************************************************
3. SOURCE FOR THE SERVER JAVA PROGRAM:
(adapted from STServer program in Section 10.2
----------------------------------------------
Click here to access:
The Java Server