SLIDE 8 Example HTTP Document
<h2><font face="Arial,Helvetica">Text</font></h2> The course text is: <ul>Bernd Oestereich, <i>Developing Software with UML, </i>Addison-Wesley, 1999</ul> For those interested in further reading, I recommend: <blockquote>Len Bass, Paul Clements and Rick Kazman, <i>Software Architecture in Practice,</i> Addison-Wesley, 1998 <p>Mary Shaw and David Garlan, <i>Software Architecture: Perspectives
an Emerging Discipline,</i> Prentice Hall, 1996 <p>Erich Gamma, Richard Helm, Ralph Johnson and John Vlissides, <i>Design Patterns: Elements of Reusable Object- Oriented Software,</i> Addison-Wesley, 1995</blockquote>
A fragment of an HTML document and how it looks in a browser
CISC 323, Winter 2004, Software Architecture 30
Web Browsing as a Layered Architecture
HTML Browser TCP IP IEEE 802.3 HTML Server TCP IP IEEE 802.3
connect, send string send datagram send frame accept connection, receive string receive datagram receive frame
Protocol Stack
CISC 323, Winter 2004, Software Architecture 31
Web Browsing as a Layered Architecture (Cont’d)
✹
Layers in protocol stack communicate by …
✺
providing services/information to layer above
✺
calling layer below for lower level services/information
… such that …
✺
layers provide increasingly abstract view of the network, that is, the higher the layer, the more abstract the view, and
✺
layers encapsulate functionality that can be plug- replaced
Link Layer
✻
Interfaces directly with hardware, e.g., device drivers
✻
May use different protocols, e.g.:
✼
IEEE 802.3 protocol for Ethernet
✼
PPP for modems
✻
Offers:
✼
direct sending and receiving of packets/frames between machines in the same network
✼
delivery not guaranteed:
✽
Sent packets/frames may or may not arrive
✼
encapsulates access to specific hardware HTML Browser TCP IP IEEE 802.3
connect, send string send datagram send frame accept connection, receive string receive datagram receive frame