Software Engineering 3156 Fall 2001 Section 1 24-Sep-01 #5: Project, OOA, UML Phil Gross.

Slides:



Advertisements
Similar presentations
A CHAT CLIENT-SERVER MODULE IN JAVA BY MAHTAB M HUSSAIN MAYANK MOHAN ISE 582 FALL 2003 PROJECT.
Advertisements

1 Java Networking – Part I CS , Spring 2008/9.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
Java Socket Support Presentation by: Lijun Yuan Course Number: cs616.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
Networking Support In Java Nelson Padua-Perez Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
Networks: HTTP and DNS1 Internet, HTTP and DNS Examples.
TCP/IP Protocol Suite - examples
TCP/IP protocols Communication over Internet is mostly TCP/IP (Transmission Control Protocol over Internet Protocol) TCP/IP "stack" is software which allows.
Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.
Networking Computer network A collection of computing devices that are connected in various ways in order to communicate and share resources Usually,
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 3: TCP/IP Architecture.
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.1 ISP Services Working at a Small-to-Medium Business or ISP – Chapter 7.
1 ELEN602 Lecture 2 Review of Last Lecture Layering.
Examining TCP/IP.
 Socket  The combination of an IP address and a port number. (RFC 793 original TCP specification)  The name of the Berkeley-derived application programming.
TCP/IP Networking Review Covered Subjects:  Packet Switched Network Structure  Issues of PSNs  Ports & IP Numbers  Delivery Services  Domain Name.
Network Services Networking for Home & Small Business.
Lector: Aliyev H.U. Lecture №14: Telecommun ication network software design for data bases and servers. TASHKENT UNIVERSITY OF INFORMATION TECHNOLOGIES.
Jozef Goetz, Application Layer PART VI Jozef Goetz, Position of application layer The application layer enables the user, whether human.
Data Streams David Meredith Source Chapter 19 of – Shiffman, D. (2008). Learning Processing. Morgan Kaufmann, Burlington, MA. ISBN:
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 26.

RGEC MEERUT(IWT CS703) 1 Java Networking RGEC Meerut.
Day16 Protocols. TCP “Transmission Control Protocol” –Connection oriented Very like a phone call, an actual connection is made between the 2 parties.
Fall 2005 By: H. Veisi Computer networks course Olum-fonoon Babol Chapter 6 The Transport Layer.
1. I NTRODUCTION TO N ETWORKS Network programming is surprisingly easy in Java ◦ Most of the classes relevant to network programming are in the java.net.
CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
CSE 6590 Department of Computer Science & Engineering York University 111/9/ :26 AM.
ECEN “Internet Protocols and Modeling”, Spring 2012 Course Materials: Papers, Reference Texts: Bertsekas/Gallager, Stuber, Stallings, etc Class.
Chapter 2 The Internet Underlying Architecture. How the DNS works? DNS: Domain Name System Visiting a website: - Write the address - IP will use the address.
Socket Programming Introduction. Socket Definition A network socket is one endpoint in a two-way communication flow between two programs running over.
1 Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Distributed systems (NET 422) Prepared by Dr. Naglaa Fathi Soliman Princess Nora Bint Abdulrahman University College of computer.
Advanced UNIX programming Fall 2002, lecture 16 Instructor: Ashok Srinivasan Acknowledgements: The syllabus and power point presentations are modified.
CSI 3125, Preliminaries, page 1 Networking. CSI 3125, Preliminaries, page 2 Networking A network represents interconnection of computers that is capable.
Transmission Control Protocol (TCP) Internet Protocol (IP)
Application Layer 2-1 Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Application Layer – Lecture.
Computer Network Architecture Lecture 6: OSI Model Layers Examples 1 20/12/2012.
Advanced Java Session 4 New York University School of Continuing and Professional Studies.
1 Kyung Hee University Chapter 11 User Datagram Protocol.
Java Networking I IS Outline  Quiz #3  Network architecture  Protocols  Sockets  Server Sockets  Multi-threaded Servers.
COMPUTER NETWORKS Hwajung Lee. Image Source:
CIS 173 Networking Week #9 OBJECTIVES Chapter #6 Network Communications Protocols.
Advance Computer Programming Networking Basics – explores the java.net package which provides support for networking. – Also Called “programming for the.
Process-to-Process Delivery:
Chapter 11 User Datagram Protocol
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
MCA – 405 Elective –I (A) Java Programming & Technology
TCP Transport layer Er. Vikram Dhiman LPU.
Working at a Small-to-Medium Business or ISP – Chapter 7
Working at a Small-to-Medium Business or ISP – Chapter 7
Working at a Small-to-Medium Business or ISP – Chapter 7
Packet Switching To improve the efficiency of transferring information over a shared communication line, messages are divided into fixed-sized, numbered.
Chapter 14 User Datagram Protocol (UDP)
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Working at a Small-to-Medium Business or ISP – Chapter 7
Transport Protocols An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
TCP/IP Protocol Suite: Review
CSC Advanced Unix Programming, Fall 2015
PART V Transport Layer.
PART 5 Transport Layer.
Internet Applications & Programming
Process-to-Process Delivery: UDP, TCP
Computer Networks Protocols
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Transport Layer 9/22/2019.
Exceptions and networking
Presentation transcript:

Software Engineering 3156 Fall 2001 Section 1 24-Sep-01 #5: Project, OOA, UML Phil Gross

2 Administrivia Recitation looking like Friday 10am Anyone planning to use C++? Project is here

3 Project Stuff Going over it in class Will be mutating during the next week Have three weeks to do specification

4 TCP One of the protocols on top of IP Quite popular, but not popular enough to call the whole shebang TCP/IP Packets will be delivered reliably, once, in order Will request retransmissions if packets are dropped Supports multiple recipients per machine with idea of “port”

5 UDP Alias datagrams Adds ports to IP, but nothing else I.e. totally unreliable, packets may be delivered out of order, not at all, multiply, etc. Used for real-time data

6 Services Listening On Ports Servers have programs running in the background, waiting for connections on a particluar port – Telnet on 23 – FTP on 21 – Mail (SMTP) on 25 – HTTP on 80 – Many more

7 RFCs Define entire structure of Internet Collection of publicly available documents

8 DNS / nslookup IP only understands 4-byte address Has no understanding of DNS (Domain Name System) is an amazing distributed database Translates names to numbers, globally

9 Socket Programming Basic client (java.net.*) ing/sockets/readingWriting.html ing/sockets/readingWriting.html Open a socket to destination machine Get Input and Output streams from socket Read and write Close streams, then sockets

10 Socket Programming II Basic Server Listen on a port Call accept You will sleep until a connection happens Then you will have a socket ing/sockets/clientServer.html ing/sockets/clientServer.html

11 Java Network Programming Makes networking extremely easy One of the reasons why Java was hyped so hard in the early days Turn that stream into an ObjectOutputStream and send objects across the network C++ much trickier ACE Framework helps

12 Specifications UML diagrams – Use case diagrams; – Class diagrams; – Sequence diagrams; – For AI teams, state diagrams.

13 Use Case Diagrams Neither Janak nor I like these much The idea is necessary Silly little stick-figure diagrams less so

14 Class Diagram The “guts”of UML Show static class relationships Generalization = inheritance Classes, Attributes, and Operations

15 Other Attributes Association = “has a” Have multiplicities – And, by extension, mandatory/optional Can also have role name Navigability Constraints/contracts Composition

16 Sequence Diagrams Show lifetime of objects And their interaction “lifelines” arranged vertically Same info as collaboration diagram – Has numeric annotations on static diagram

17 State Diagrams Sloppy FSMs States, transitions between them Formal FSM: set of states, set of transitions, transition functions from (state, transition) to new state, set of initial states, set of final or accepting states

18 OOA 1 Noun extraction Stepwise refinement of description Extract nouns Abstract nouns are often attributes Rest of nouns are candidates to be classes Verbs usually become events or actions

19 Event Model Publishers and Subscribers Usually implies asynchronous – synchronous is RPC Reliable or unreliable Broadcast or multicast