Web Services Members Troy Tony Ellen Vincent. Web Services What is it Why is it useful What have been solved Demo Alternative technologies Question.

Slides:



Advertisements
Similar presentations
Web Service Architecture
Advertisements

COM vs. CORBA.
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
SOAP: Simple Object Access Protocol CS 795/895. Reference links Video: 2-M.
CSIS0402 System Architecture K.P. Chow University of Hong Kong.
Presentation 7 part 1: Web Services Introduced. Ingeniørhøjskolen i Århus Slide 2 Outline Definition Overview of Web Services Examples Next Time: SOAP.
Presentation 7: Part 1: Web Services Introduced. Outline Definition Overview of Web Services Examples Next Time: SOAP & WSDL.
Distributed components
Technical Architectures
CSC-8530: Distributed Systems Christopher Salembier 28-Oct-2009.
A New Computing Paradigm. Overview of Web Services Over 66 percent of respondents to a 2001 InfoWorld magazine poll agreed that "Web services are likely.
Introduction to Service-Oriented Architecture. Outline Definition Features Examples of SOA Web Service Standards Example Pros and Cons Integration with.
CS 501: Software Engineering Fall 2000 Lecture 16 System Architecture III Distributed Objects.
Ch 12 Distributed Systems Architectures
J2EE vs..NET Nigam Patel. Topics Background –Web Services, J2EE and.NET Similarities Differences Conclusion –Pros and Con (J2EE and.NET)
Software Engineering Module 1 -Components Teaching unit 3 – Advanced development Ernesto Damiani Free University of Bozen - Bolzano Lesson 2 – Components.
Client/Server Architecture
September 2011 At A Glance The API provides a common interface to the GMSEC software information bus. Benefits Isolates both complexity of applications.
Web Service What exactly are Web Services? To put it quite simply, they are yet another distributed computing technology (like CORBA, RMI, EJB, etc.).
COM vs. CORBA Integration via middleware By: Don Villanueva CS 524 Software Engineering II Fall II 2007 – Sheldon X. Liang, Ph. D.
Messaging Technologies Group: Yuzhou Xia Yi Tan Jianxiao Zhai.
Introduction SOAP History Technical Architecture SOAP in Industry Summary References.
CHAPTER FIVE Enterprise Architectures. Enterprise Architecture (Introduction) An enterprise-wide plan for managing and implementing corporate data assets.
Quality Assurance for Component- Based Software Development Cai Xia (Mphil Term1) Supervisor: Prof. Michael R. Lyu 5 May, 2000.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 12 Slide 1 Distributed Systems Architectures.
1 Introduction CSIE, Da-Yeh University. 2 History of Software Development Traditional Programming Paradigm  Behind schedule, costly, and unreliable.
Object and component “wiring” standards This presentation reviews the features of software component wiring and the emerging world of XML-based standards.
Web Services Architecture1 - Deepti Agarwal. Web Services Architecture2 The Definition.. A Web service is a software system identified by a URI, whose.
COM vs. CORBA Computer Science at Azusa Pacific University September 19, 2015 Azusa Pacific University, Azusa, CA 91702, Tel: (800) Department.
UNIT – II ARCHITECTING WEB SERVICES. WHAT ARE WEB SERVICES ? Web Services are loosely coupled, contracted components that communicate via XML-based interfaces.
95-843: Service Oriented Architecture 1 Master of Information System Management Service Oriented Architecture Lecture 10: Service Component Architecture.
Enterprise Java Beans Part I Kyungmin Cho 2001/04/10.
Web Service Bright + Ong. Meaning A collection of protocols and standards used for exchanging data between applications or systems Written in various.
© Copyright IONA Technologies 2000, 2001 The Enterprise Portal Company™ Manfred R. Koethe Industrial & Embedded Systems Architect IONA Technologies Applied.
International Telecommunication Union Geneva, 9(pm)-10 February 2009 ITU-T Security Standardization on Mobile Web Services Lee, Jae Seung Special Fellow,
Lecture 15 Introduction to Web Services Web Service Applications.
DCOM (Overview) by- Jeevan Varma Anga.
COM+ Ye Zhou. MS Windows DNA Distributed iNternet Application architecture 3-tier model Presentation Business logic Data.Net Framework.
1 Advanced Software Architecture Muhammad Bilal Bashir PhD Scholar (Computer Science) Mohammad Ali Jinnah University.
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
AUTHORS: MIKE P. PAPAZOGLOU WILLEM-JAN VAN DEN HEUVEL PRESENTED BY: MARGARETA VAMOS Service oriented architectures: approaches, technologies and research.
.NET Enterprise Services COM+ 1.5 麥超俊 Bobby Mak 架構技術推廣經理開發工具暨平台推廣處台灣微軟股份有限公司.
Service Oriented Architecture CCT355H5 Professor Michael Jones Suezan Makkar.
Distribution and components. 2 What is the problem? Enterprise computing is Large scale & complex: It supports large scale and complex organisations Spanning.
CS 501: Software Engineering Fall 1999 Lecture 12 System Architecture III Distributed Objects.
S imple O bject A ccess P rotocol Karthikeyan Chandrasekaran & Nandakumar Padmanabhan.
Kemal Baykal Rasim Ismayilov
S O A P ‘the protocol formerly known as Simple Object Access Protocol’ Team Pluto Bonnie, Brandon, George, Hojun.
1 SERVICE ORIENTED ARCHITECTURE ANTHONY GACHANGO D61/70547/2008 DIS 601.
EGEE is a project funded by the European Union under contract IST Introduction to Web Services 3 – 4 June
A service Oriented Architecture & Web Service Technology.
MQ Series Cross Platform Dominant Messaging sw – 70% of market
Enterprise Architectures
SOA (Service Oriented Architecture)
Ch > 28.4.
Implementing a service-oriented architecture using SOAP
Inventory of Distributed Computing Concepts and Web services
Enterprise Application Integration Styles
Interpreter Style Examples
The future of distributed systems architecture
Inventory of Distributed Computing Concepts
Component--based development
Service Oriented Architecture (SOA)
MQ Series Cross Platform Dominant Messaging sw – 70% of market
Quality Assurance for Component-Based Software Development
Inventory of Distributed Computing Concepts
Distributed Systems Architectures
Presentation transcript:

Web Services Members Troy Tony Ellen Vincent

Web Services What is it Why is it useful What have been solved Demo Alternative technologies Question

What is Web Service An XML technology which allows an application to access a remote/local application’s services with very little code customization using ubiquitous and standard communication protocols. Standard Package: 1.WSDL 2.UDDI 3.SOAP

How Does It Work?

Why Web Service Useful “ you can exchange data between different applications and different platforms” (quoted from W3Schools.com) for the following reasons: 1.It is platform independent 2.It is language independent 3.It uses one of the most popular ways for data communication – XML 4.Enabling the reuse of software components 5.Delivers a loosely coupled architecture (e.g. SOA)

What have been solved? Technical point of view: Platforms / development languages conflict Business point of view: enabling data exchange among different business partners while each one of them may use different types of servers/languages

Web Service in the Real World LiveJournal - Blog Management Google Map / Geocoding PayPal Protein Data Bank

Limitations of Web Service Draw Back: 1.Once implemented, no control in response time of the service 2.XML (SOAP, WSDL) is easy for human (programmers) to read but have poor processing performance 3.Have no way to know how the clients will use the result from the web service. This limits the type of the data analysis/mining that can be performed.

Demo Python (install fpconst, SOAPpy) Perl

Web Services Demo Python import SOAPpy import random server = SOAPpy.SOAPServer(('localhost', 8080)) server.registerFunction(numberGenerator) def numberGenerator(): list = range(1,50) lo_nums = [] i = 0 while i < 6: number = random.choice(list) if (number != -1): lo_nums = lo_nums + [number] list[number-1] = -1 i = i + 1 return lo_nums server.serve_forever() Link to Demo Perl use SOAP::Transport::HTTP; use strict; SOAP::Transport:: -> dispatch_to(‘Lottery') -> handle; package Lottery; sub lotteryNumbers { my ( $val, $seed) $seed ? srand $seed : srand; = ( ); while < 6 ) { my $n = int ( $pools[0], $pools[$n] ) = ( $pools[$n], $pools[0] ); } return }

Alternative Technologies MQ Series (from IBM) –Multi-platform and multi-language message queuing service –Asynchronus One program queues messages Another program processes messages Managed by a Queue Manager; actions are event triggered –Two types of queue connections (called channels) 1) Unidirectional and 2) Bidirectional –Applications can be loosely coupled with MQ Series but they must be contained within a cooperating system since connections are pre-established and static.

Alternative Technologies

MQ Series (continued) –Strengths Support for multiple platforms Well tested and generally considered stable Simplifies inter-application communications Workflow management and load balancing Queuing –Weaknesses Message based rather than object based Not stateful or persistent Hard wired channels (communication links between apps) Location is not transparent requiring more management

Alternative Technologies CORBA (Common Object Request Broker Architecture) –Platform and language independent –Object oriented component architecture –Stateful & persistent –Flexible features to decouple the client and object implementation –Performance is good enough for real-time applications –Support for transactions, security and events notification. –E.g. Linux Gnome – a network centric graphical user interface.

Alternative Technologies

CORBA (continued) –Stengths Platform independent (as long as there is vendor support) with multi-language support Stateful and persistent objects Widely deployed today Integrated security services including its own naming service that minimizes the risk of spoofing, etc. Service discovery –Weaknesses Fairly complex to configure and implement Not standardized for today’s network security issues. Not organized for easy integration with web apps

Alternative Technologies DCOM (Distributed Components) –Object oriented –Objects are stateful, persistent, can pass data, event driven, … –Seamlessly connects local and remote COM objects into a running process (e.g. transparent use of remote objects) –Tightly interacts with ActiveX for web deployment and OLE. –Primarily Windows. Microsoft support for MacOS and third party support for some UNIX (although UNIX COM not supported by developers thus very limited services) –Early issues regarding security, complexity, load balancing and others making it unsuitable for enterprise deployment. COM+ and Microsoft Transaction Server (MTS) attempted to fix

Alternative Technologies COM Object Access

Alternative Technologies COM (continued) –Strengths Multi-language support (kind of) It doesn’t care where the object is sourced from Statefulness, persistence, native data transfer and event capabilities (e.g. exceptions) Relatively mature technology –Weaknesses Platform dependent (platform must understand binary format) Supports COM-aware languages only Considered by many complex to develop and maintain

Our Comments What is cool… Troy: “Loosely coupled architecture” Vincent: “Free” Tony: “Code Reuse” Ellen: “Compatible”

References

Questions?