Network Programming

From Java Programming II
Jump to: navigation, search

Network Programming

Learning Outcomes

At the end of the session, you will be able:

  • understand the concept of client/server applications on the Internet
  • develop a client/server application using TCP/UDP sockets
  • develop a multi-threaded scalable server for handling large number of requests
  • serialise a complex data structure into a String format (XML,JSON) to send it into a message through the network

Code

Network Programming Package

Introduction



InetAddress



UDP Server



TCP Server



Serializable



Multi-Threaded Server