JAVA, JAVA, JAVAObject-Oriented Problem SolvingRalph MorelliTrinity CollegeHartford, CTpresentation slides forpublished by Prentice HallSecond EditionJava, Java, JavaObject Oriented Problem SolvingChapter 15: Sockets workingJava, Java, Java, 2E by R. Morelli Copyright 2002. All rights reserved. Chapter 15: SocketsObjectives?Understand some basic facts works.?Know how to use Java's URL class to work resources from an applet or application.?Be able to working applications using the client/server model.?Understand how to use Java's Socket andServerSocket , Java, Java, 2E by R. Morelli Copyright 2002. All rights reserved. Chapter 15: SocketsOutline?An Overview works?work Resources from an Applet?From the Java Library: .URL?The Slide Show work Resources from an Application?Client/munication via Sockets?Case Study: Generic Client/Server Classes?work Security Restrictions?In the Laboratory: The CyberPetJava, Java, Java, 2E by R. Morelli Copyright 2002. All rights reserved. Chapter 15: SocketsAn Overview works?A local work (LAN) is usually a privately work located within a single office or a anization.?A Wide work (WAN) spans a wide geographical distance -- , MCI or Sprint.?Its topology refers to work’s shape. ?One of Java’s strengths is the support it provides for the and client/server , Java, Java, 2E by R. Morelli Copyright 2002. All rights reserved. Chapter 15: work e in many shapes, each with different levels of , Java, Java, 2E by R. Morelli Copyright 2002. All rights reserved. Chapter 15: s?An is a collection of two or more works, joined by routers.?The is one , Java, Java, 2E by R. Morelli Copyright 2002. All rights reserved. Chapter 15: work Protocols?A protocol is a set of rules that governs munication of information.?Examples:–SMTP: Simple Mail Transfer Protocol–HTTP: HyperText Transfer Protocol–FTP: File Transfer Protocol?HTTP uses a Uniform Res
Java, Java, Java - bk.psu.edu 来自淘豆网www.taodocs.com转载请标明出处.