7-Aug-15 Serialization and XML Pat Palmer 2.0. 2 What is serialization? “The process of converting an object (or a graph of objects) into a linear sequence.

Slides:



Advertisements
Similar presentations
31242/32549 Advanced Internet Programming Advanced Java Programming
Advertisements

General introduction to Web services and an implementation example
SOAP & Security IEEE Computer Society Utah Chapter Hilarie Orman - Purple Streak Development Tolga Acar - Novell, Inc. October 24, 2002.
SOAP.
1 Understanding Web Services Presented By: Woodas Lai.
Introduction to Web Services and Web API’s Richard Holowczak Baruch College December, 2014.
Web Services Darshan R. Kapadia Gregor von Laszewski 1http://grid.rit.edu.
Web Services Nasrullah. Motivation about web service There are number of programms over the internet that need to communicate with other programms over.
SOAP Quang Vinh Pham Simon De Baets Université Libre de Bruxelles1.
Implementing Remote Procedure Calls Andrew Birrell and Bruce Nelson Presented by Kai Cong.
Grid Computing, B. Wilkinson, 20043a.1 WEB SERVICES Introduction.
Jacob Boston Josh Pfeifer. Definition of HyperText Transfer Protocol How HTTP works How Websites work GoDaddy.com OSI Model Networking.
20-Jun-151 A brief history of XML, SOAP and REST Pat Palmer, early 2011 v1.0.
INTERNET DATABASE. Internet and E-commerce Internet – a worldwide collection of interconnected computer network Internet – a worldwide collection of interconnected.
CS 415 N-Tier Application Development By Umair Ashraf July 6,2013 National University of Computer and Emerging Sciences Lecture # 9 Introduction to Web.
Web Services Michael Smith Alex Feldman. What is a Web Service? A Web service is a message-oriented software system designed to support inter-operable.
Application Layer. Applications A program or group of programs designed for end users. Software can be divided into two general classes: systems software.
Introduction SOAP History Technical Architecture SOAP in Industry Summary References.
SOAP Simple Object Access Protocol by Vinubalaji Gopal (Vinu)
Computer Concepts 2014 Chapter 7 The Web and .
Copyright © Curt Hill The Internet An Introduction.
Internet, intranet, and multimedia database processing l Database processing across local and wide area networks l Alternative architectures for distributing.
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
Chapter 6 Introduction to Web Services. Objectives By study of the chapter, you will be able to: Describe what is Web services Describe what are differences.
WS-Security: SOAP Message Security Web-enhanced Information Management (WHIM) Justin R. Wang Professor Kaiser.
INFO 344 Web Tools And Development CK Wang University of Washington Spring 2014.
Lecture 15 Introduction to Web Services Web Service Applications.
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
Web Services for Satellite Emulation Development Kathy J. LiszkaAllen P. Holtz The University of AkronNASA Glenn Research Center.
Web Services. ASP.NET Web Services  Goals of ASP.NET Web services:  To enable cross-platform, cross- business computing  Great for “service” based.
Distributed Programming CSCI 201L Jeffrey Miller, Ph.D. HTTP :// WWW - SCF. USC. EDU /~ CSCI 201 USC CSCI 201L.
Semantic Web Technologies Research Topics and Projects discussion Brief Readings Discussion Research Presentations.
Copyright © 2013 Curt Hill SOAP Protocol for exchanging data and Enabling Web Services.
1 Web Services Web and Database Management System.
Simple Object Access Protocol. Web Services: SOAP2 Why Simple Object Access Protocol Light weight replacement for complicated distributed object technology.
Shminder Singh Marquese Carter Ethan Bowyer.  What is SOAP?  Example SOAP Code.  SOAP Characteristics.  Use for SOAP.  Advantages.  Disadvantages.
S imple O bject A ccess P rotocol Karthikeyan Chandrasekaran & Nandakumar Padmanabhan.
2007cs Servers on the Web. The World-Wide Web 2007 cs CSS JS HTML Server Browser JS CSS HTML Transfer of resources using HTTP.
1 Alternative view on Internet Computing Web 1.0 –Web 1.0 is first generation, Web Information based. Driven by Information provider. Web 2.0 Ajax enabled.
Kemal Baykal Rasim Ismayilov
Chapter 27 - Faxes & File Transfer (FTP) Introduction Sending a Fax –The Internet can be used to send a fax. Two fax machines can be modified to communicate.
S O A P ‘the protocol formerly known as Simple Object Access Protocol’ Team Pluto Bonnie, Brandon, George, Hojun.
Advanced Web Technologies Lecture #4 By: Faraz Ahmed.
CSCE 315 – Programming Studio Spring Goal: Reuse and Sharing Many times we would like to reuse the same process or data for different purpose Want.
DAP4, SOAP and THREDDS James Gallagher OPeNDAP Presented by Steve Hankin.
RESTful Web Services What is RESTful?
Remote Procedure Call and Serialization BY: AARON MCKAY.
Web Services Martin Nečaský, Ph.D. Faculty of Mathematics and Physics Charles University in Prague, Czech Republic Summer 2014.
Web services In this presentation… –what is a web service? –web service benefits –web service standards –web service definitions –web service actions.
Web Services An Introduction Copyright © Curt Hill.
Web Technologies Lecture 10 Web services. From W3C – A software system designed to support interoperable machine-to-machine interaction over a network.
Intro to Web Services Dr. John P. Abraham UTPA. What are Web Services? Applications execute across multiple computers on a network.  The machine on which.
Introduction to Web Services Presented by Sarath Chandra Dorbala.
Beginning 자바 웹 서비스 SOAP 강미란 Cyber-Infrastructure Research Lab Konkuk University.
National College of Science & Information Technology.
E-Business Infrastructure PRESENTED BY IKA NOVITA DEWI, MCS.
Introduction to Web Services
API (Application Program Interface)
WEB SERVICES.
Lecture: Protocols in Detail
Unit – 5 JAVA Web Services
Web Services Primer Overview of Web Services
Implementing a service-oriented architecture using SOAP
$, $$, $$$ API testing Edition
Middleware, Services, etc.
Chapter 7 Network Applications
Chengyu Sun California State University, Los Angeles
Presentation transcript:

7-Aug-15 Serialization and XML Pat Palmer 2.0

2 What is serialization? “The process of converting an object (or a graph of objects) into a linear sequence of bytes for either storage or transmission to another location.”

3 What is deserialization? “The process of taking in stored information and recreating objects from it.” Wikipedia currently has a decent overview of serialization

4 how to deserialize badly If a program is both the serializer and deserializer, things are straightforward. If a program receives a serialized file from another company: What does the program need to know to rebuild an identical object in memory? Text or binary format If binary, need to know everything If text, what byte encoding? If valid XML, we can at least read in the data But whether we know what to do with it is uncertain

some serialization formats Binary.csv XML SOAP JSON Protocol Buffers 5

uses of XML serialization format saving program state (“settings”) between executions sharing data between companies Purchase orders, course enrollments, catalogs, news feeds, etc. platform-independent Remote Procedure Calls (RPC’s) plain text passes through firewalls if attached to or sent as the payload of an HTTP request human-readable and machine readable both data and metadata (data about data), and thus self- describing unrecognized elements can be ignored during deserialization 6

XML serialization: the bad some folks object to using XML as the RPC message format efficiency concerns XML typically creates larger files than a binary, proprietary format does The larger the document, the longer it takes to transmit over a network privacy and security inherently insecure because human readable goes through firewalls 7

REpresentational State Transfer (REST) HTTP GET requests (parameters in the URL) are RESTful E.g., Google Charts API, HTML validator links, Amazon books the URL’s get ugly, and are limited in length by browsers Also, a philosophy promoted in blogs with the following claims: every object that can be retrieved over a network should have a unique URL that can be used to bookmark it XML is too bulky for shipping over the network, if more concise “platform independent” formats are available as alternatives REST has been promoted by employees of Sun, Apple, and IBM, while Microsoft strongly supported the XML standard and adopted RPC using SOAP (a special version of XML) Some REST drawbacks: no authentication scheme, no transactions, no standardized error reporting mechanism, no formal contract definitions 8

9 The End I think part of a best friend's job should be to immediately clear your computer history if you die. -Anonymous