A quick overview of Network communications A quick overview of Network communications Anthony Lomax...

9
A quick overview of Network communications Anthony Lomax Anthony Lomax Scientific Software Mouans-Sartoux, France [email protected] www.alomax.net

Transcript of A quick overview of Network communications A quick overview of Network communications Anthony Lomax...

Page 1: A quick overview of Network communications A quick overview of Network communications Anthony Lomax Anthony Lomax Scientific Software Mouans-Sartoux, France.

A quick overview of

Network communications

A quick overview of

Network communications

Anthony Lomax Anthony Lomax Scientific Software Mouans-Sartoux, France

[email protected] www.alomax.net

Anthony Lomax Anthony Lomax Scientific Software Mouans-Sartoux, France

[email protected] www.alomax.net

Page 2: A quick overview of Network communications A quick overview of Network communications Anthony Lomax Anthony Lomax Scientific Software Mouans-Sartoux, France.

ftp:http:

Java-RMICorbaSOAP

Distributed, Network-based software

Page 3: A quick overview of Network communications A quick overview of Network communications Anthony Lomax Anthony Lomax Scientific Software Mouans-Sartoux, France.

networkInternetmessages

FTP(File Transfer

Protocol)

HTTP(HyperText Transfer

Protocol)

Java-RMI(Remote Method

Invocation)

CORBA(Common Object Request

Broker Architecture)

SOAP(Simple Object Access

Protocol)

FTP HTTP JavaRMI CORBA SOAP …

hardware dependent transmission protocol

IP (Internetwork Protocol – message delivery)

TCP (Transmission Control Protocol – management)

Page 4: A quick overview of Network communications A quick overview of Network communications Anthony Lomax Anthony Lomax Scientific Software Mouans-Sartoux, France.

hardware dependent transmission protocol

IP (Internetwork Protocol – message delivery)

TCP (Transmission Control Protocol – management)

FTP HTTP JavaRMI CORBA SOAP …FTP

FTP commands

data connection

+ simple, widely usedx limited functionality (file transfer)

+ simple, widely usedx limited functionality (file transfer)

FTP(File Transfer

Protocol)

FTP server

FTP client

Page 5: A quick overview of Network communications A quick overview of Network communications Anthony Lomax Anthony Lomax Scientific Software Mouans-Sartoux, France.

hardware dependent transmission protocol

IP (Internetwork Protocol – message delivery)

TCP (Transmission Control Protocol – management)

FTP HTTP JavaRMI CORBA SOAP …

HTTP Request message:

POST data

HTTP Request message:

GET cgi-bin script

HTTP(HyperText Transfer

Protocol)

HTTP Request message:

GET http://orfeus.nl HTTP/1.0

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: 1579HTML document

HTTP

+ simple & standard+ formatted document display+ securex limited functionalityx server overhead

+ simple & standard+ formatted document display+ securex limited functionalityx server overhead

Page 6: A quick overview of Network communications A quick overview of Network communications Anthony Lomax Anthony Lomax Scientific Software Mouans-Sartoux, France.

hardware dependent transmission protocol

IP (Internetwork Protocol – message delivery)

TCP (Transmission Control Protocol – management)

FTP HTTP JavaRMI CORBA SOAP …

serverclient

Java-R

MI

inte

rface

Java-R

MI

inte

rface

method invocation

method invocationmethod invocationmethod invocation

+ relatively simple (~Java)+ secure+ low server overhead (uses client) + efficient, powerful, flexible+ pure Javax pure Java

+ relatively simple (~Java)+ secure+ low server overhead (uses client) + efficient, powerful, flexible+ pure Javax pure Java

Java-RMI(Remote Method

Invocation)

JavaRMIHTTP

Page 7: A quick overview of Network communications A quick overview of Network communications Anthony Lomax Anthony Lomax Scientific Software Mouans-Sartoux, France.

hardware dependent transmission protocol

IP (Internetwork Protocol – message delivery)

TCP (Transmission Control Protocol – management)

FTP HTTP JavaRMI CORBA SOAP …

servant(C,C++,Java,

…)

client(C,C++,Java,

…)

CO

RB

A in

terf

aces

CO

RB

A in

terf

aces

CORBA

Object

Request

Broker

(ORB)request-re

sponse

request-response

request-responserequest-response

+ heterogeneous platforms/languages+ use “legacy” programs+ secure+ low server overhead (uses client) + efficient, powerful, flexiblex complexityx no direct FORTRAN support

+ heterogeneous platforms/languages+ use “legacy” programs+ secure+ low server overhead (uses client) + efficient, powerful, flexiblex complexityx no direct FORTRAN support

CORBA(Common Object Request

Broker Architecture)

Page 8: A quick overview of Network communications A quick overview of Network communications Anthony Lomax Anthony Lomax Scientific Software Mouans-Sartoux, France.

hardware dependent transmission protocol

IP (Internetwork Protocol – message delivery)

TCP (Transmission Control Protocol – management)

FTP HTTP JavaRMI CORBA SOAP …

service(C,C++,Java,

…)

client(C,C++,Java,

…)

SO

AP

in

terf

aces

SO

AP

in

terf

aces

SOAP

XML messages

(HTTP)request-response

request-response

request-responserequest-response

HTTPSOAP

+ heterogeneous platforms/languages+ use HTTP / XML+ secure+ low server overhead (uses client) + powerful, flexible+ standardized, w/ registry servicesx complexityx poor efficiency (?)

+ heterogeneous platforms/languages+ use HTTP / XML+ secure+ low server overhead (uses client) + powerful, flexible+ standardized, w/ registry servicesx complexityx poor efficiency (?)

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>

SOAP(Simple Object Access

Protocol)

Page 9: A quick overview of Network communications A quick overview of Network communications Anthony Lomax Anthony Lomax Scientific Software Mouans-Sartoux, France.

A quick overview of Network communications

ReferencesA quick overview of Network communications

References

General:Developer.com - http://developer.com

O'Reilly Network - http://www.oreillynet.comW3Schools - http://www.w3schools.com

Connected: An Internet Encyclopaedia - http://www.freesoft.org/CIEHTTP:

HTTP Made Really Easy - http://www.jmarshall.com/easy/httpJava & JavaRMI:

java.sun.com - http://java.sun.comCORBA:

Object Management Group - http://www.omg.orgTwo papers on CORBA and FORTRAN

- http://accl.grc.nasa.gov/IPG/CORBA/CAS_corba.pdf http://www.ssgrr.it/en/ssgrr2002w/papers/211.pdf

SOAPsoapware.org http://www.soapware.org

General:Developer.com - http://developer.com

O'Reilly Network - http://www.oreillynet.comW3Schools - http://www.w3schools.com

Connected: An Internet Encyclopaedia - http://www.freesoft.org/CIEHTTP:

HTTP Made Really Easy - http://www.jmarshall.com/easy/httpJava & JavaRMI:

java.sun.com - http://java.sun.comCORBA:

Object Management Group - http://www.omg.orgTwo papers on CORBA and FORTRAN

- http://accl.grc.nasa.gov/IPG/CORBA/CAS_corba.pdf http://www.ssgrr.it/en/ssgrr2002w/papers/211.pdf

SOAPsoapware.org http://www.soapware.org

Anthony Lomax Scientific Software, Mouans-Sartoux, France

[email protected] www.alomax.net

Anthony Lomax Scientific Software, Mouans-Sartoux, France

[email protected] www.alomax.net