skip to main content
10.1145/305786.305955acmconferencesArticle/Chapter ViewAbstractPublication PagesiticseConference Proceedingsconference-collections
Article
Free Access

Using Java and the socket interface in teaching client/server programming

Authors Info & Claims
Published:27 June 1999Publication History

ABSTRACT

In this poster, we present our experience developing JAVA applets and applications to create a client/server system on the world wide web, and show how the product is used in upper-division computer science classes.The set of programs consist of a client and a server. The client program in the prototype is a JAVA applet that is downloaded into the client machine and is executed in a user's web browser using the local memory, CPU and other resources. The server program in the prototype is a JAVA application that runs on a web server all the time. The client and the server programs use the socket interface [ Comer&Stevens 96] as the communication protocol, and are able to transmit data back and forth successfully over the internet. Figure 1 illustrates how the client and the server communicate over the socket interface.With the set of programs in place, students in the upper-division computer science classes, including software engineering, databases systems, and distributed application development, are able to build their own software for the course projects, on top of the software prototypes.Revision of a given set of JAVA programs proves to be a better approach in learning client/server programming using JAVA and sockets, compared to requiring students to create JAVA programs from the scratch.

References

  1. Comer&Stevens 96.Douglas E. Comer & David L. Stevens, Internetworking With TCP/IP: Client- Server Programming and Applications : BSD Socket Version (Vol. 3) , 2nd Edition, Prentice Hall Press, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Using Java and the socket interface in teaching client/server programming

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Conferences
      ITiCSE '99: Proceedings of the 4th annual SIGCSE/SIGCUE ITiCSE conference on Innovation and technology in computer science education
      June 1999
      214 pages
      ISBN:1581130872
      DOI:10.1145/305786

      Copyright © 1999 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 27 June 1999

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • Article

      Acceptance Rates

      Overall Acceptance Rate552of1,613submissions,34%

      Upcoming Conference

      ITiCSE 2024
    • Article Metrics

      • Downloads (Last 12 months)15
      • Downloads (Last 6 weeks)1

      Other Metrics

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader