A quick overview of Network communications A quick overview of Network communications Anthony Lomax...
-
Upload
julianna-hunter -
Category
Documents
-
view
216 -
download
0
Transcript of A quick overview of Network communications A quick overview of Network communications Anthony Lomax...
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
ftp:http:
Java-RMICorbaSOAP
…
Distributed, Network-based software
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)
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
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
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
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)
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)
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