Network with Java
After this week you should be able to:
- Explain and demonstrate the client/server principle
- Define what a client is
- Define what a server is
- Explain what a request and response is - and what they can contain
- Explain what and demonstrate the use of the network protocol
- Define what a protocol is
- Show how to use the TCP/IP protocol in Java
- Explain the purpose of the TCP/IP protocol
- Explain and demonstrate the use of ServerSocket and (client) Socket in Java
- Explain what TCP is and what IP is
- Explain and demonstrate the use of port numbers
- What is a port number?
- Which port numbers are reserved and which are free?
- Demonstrate the use of port numbers in Java through examples
- Explain and demonstrate the HTTP protocol and its use
- Where is HTTP used?
- How is a HTTP header built and what is it used for?
- Which HTTP methods are there and what are they used for?
- What are HTTP status codes?
- What does a HTTP request contain?
- What does a HTTP response contain?
- Provide examples in java of how to use the above concepts
- Explain and demonstrate the use of threads in Java
- What is a thread?
- Why do we need threads?
- What is the difference between threads and processes?