1 / 9

A quick overview of Network communications

A quick overview of Network communications. Anthony Lomax Anthony Lomax Scientific Software Mouans-Sartoux, France anthony@alomax.net www.alomax.net. Distributed, Network-based software. ftp: http: Java-RMI Corba SOAP …. SOAP (Simple Object Access Protocol ).

deo
Download Presentation

A quick overview of Network communications

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. A quick overview of Network communications Anthony Lomax Anthony Lomax Scientific Software Mouans-Sartoux, France anthony@alomax.netwww.alomax.net

  2. Distributed, Network-based software ftp: http: Java-RMI Corba SOAP …

  3. SOAP (Simple Object Access Protocol) CORBA (Common Object Request Broker Architecture) Java-RMI (Remote Method Invocation) HTTP (HyperText Transfer Protocol) FTP (File Transfer Protocol) FTP HTTP JavaRMI CORBA SOAP … TCP (Transmission Control Protocol – management) messages Internet network hardware dependent transmission protocol IP (Internetwork Protocol – message delivery)

  4. FTP HTTP JavaRMI CORBA SOAP … TCP (Transmission Control Protocol – management) hardware dependent transmission protocol IP (Internetwork Protocol – message delivery) FTP server FTP client + simple, widely used x limited functionality (file transfer) FTP commands data connection FTP (File Transfer Protocol) FTP

  5. FTP HTTP JavaRMI CORBA SOAP … TCP (Transmission Control Protocol – management) hardware dependent transmission protocol IP (Internetwork Protocol – message delivery) HTTP Request message: POST data HTTP Request message: GET cgi-bin script HTTP Request message: GET http://orfeus.nl HTTP/1.0 + simple & standard + formatted document display + secure x limited functionality x server overhead HTTP (HyperText Transfer Protocol) HTTP Response message: HTTP/1.1 200 OK Date: 22 Sep 2003 10:18:59 GMT Server: Apache/1.0.0 Content-type: text/html Content-length: 1579 HTML document HTTP

  6. FTP HTTP JavaRMI CORBA SOAP … TCP (Transmission Control Protocol – management) hardware dependent transmission protocol IP (Internetwork Protocol – message delivery) server client + relatively simple (~Java) + secure + low server overhead (uses client) + efficient, powerful, flexible + pure Java x pure Java Java-RMI (Remote Method Invocation) method invocation Java-RMI interface Java-RMI interface method invocation method invocation method invocation HTTP JavaRMI

  7. FTP HTTP JavaRMI CORBA SOAP … TCP (Transmission Control Protocol – management) hardware dependent transmission protocol IP (Internetwork Protocol – message delivery) CORBA (Common Object Request Broker Architecture) servant (C,C++,Java,…) client (C,C++,Java,…) + heterogeneous platforms/languages + use “legacy” programs + secure + low server overhead (uses client) + efficient, powerful, flexible x complexity x no direct FORTRAN support Object Request Broker (ORB) request-response request-response CORBA interfaces CORBA interfaces request-response request-response CORBA

  8. FTP HTTP JavaRMI CORBA SOAP … TCP (Transmission Control Protocol – management) hardware dependent transmission protocol IP (Internetwork Protocol – message delivery) SOAP (Simple Object Access Protocol) service (C,C++,Java,…) client (C,C++,Java,…) SOAP Response message: HTTP/1.1 200 OKContent-Type: text/xml; charset="utf-8"Content-Length: nnnn<SOAP-ENV:Envelope  xmlns:SOAP-ENV="http://xmlsoap.org/soap/envelope/"  SOAP-ENV:encodingStyle="http://xmlsoap.org/soap/encod/">  <SOAP-ENV:Body>   <m:GetMagnitudeResponse xmlns:m="Some-URI">     <Magnitude>6.7</Magnitude>   </m:GetMagnitudeResponse> </SOAP-ENV:Body></SOAP-ENV:Envelope> SOAP Request message: POST /Magnitude HTTP/1.1Host: orfeus.nlContent-Type: text/xml; charset="utf-8"Content-Length: nnnnSOAPAction: "Some-URI"<SOAP-ENV:Envelope  xmlns:SOAP-ENV="http://xmlsoap.org/soap/envelope/"  SOAP-ENV:encodingStyle="http://xmlsoap.org/soap/encod/"> <SOAP-ENV:Body>   <m:GetMagnitude xmlns:m="Some-URI">     <event>20030923.100327</event>   </m:GetMagnitude> </SOAP-ENV:Body></SOAP-ENV:Envelope> + heterogeneous platforms/languages + use HTTP / XML + secure + low server overhead (uses client) + powerful, flexible + standardized, w/ registry services x complexity x poor efficiency (?) SOAP XML messages (HTTP) request-response SOAP interfaces SOAP interfaces request-response request-response request-response HTTP SOAP

  9. A quick overview of Network communications References General: Developer.com - http://developer.com O'Reilly Network - http://www.oreillynet.com W3Schools - http://www.w3schools.com Connected: An Internet Encyclopaedia - http://www.freesoft.org/CIE HTTP: HTTP Made Really Easy - http://www.jmarshall.com/easy/http Java & JavaRMI: java.sun.com - http://java.sun.com CORBA: Object Management Group - http://www.omg.org Two papers on CORBA and FORTRAN - http://accl.grc.nasa.gov/IPG/CORBA/CAS_corba.pdfhttp://www.ssgrr.it/en/ssgrr2002w/papers/211.pdf SOAP soapware.org http://www.soapware.org Anthony Lomax Scientific Software, Mouans-Sartoux, France anthony@alomax.netwww.alomax.net

More Related