To java.net and beyond: teaching networking concepts using the Java networking API

  • Authors:
  • Greg Gagne

  • Affiliations:
  • Westminster College, Salt Lake City, UT

  • Venue:
  • SIGCSE '02 Proceedings of the 33rd SIGCSE technical symposium on Computer science education
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper covers the use of Java and its API for developing networking programs in an undergraduate computer networks class. Through the use of TCP and UDP sockets provided in the java.net package, students are able to write several client-server applications such as web and mail servers and a chat room. Additionally, the java.rmi API provides a library for invoking methods on remote objects, similar to remote procedure calls. Remote method invocation (RMI) is used to write a distributed version of the Producer-Consumer problem.