A Cross-Platform Component Based Ecommerce Framework in.NET Vishwak Rajgopalan Under the guidance of Dr. Daniel Andresen (Major Professor) Dr. Mitchell.

Slides:



Advertisements
Similar presentations
18 Copyright © 2005, Oracle. All rights reserved. Distributing Modular Applications: Introduction to Web Services.
Advertisements

Web Service Architecture
Overview of Web Services
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
General introduction to Web services and an implementation example
1 Understanding Web Services Presented By: Woodas Lai.
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.
WEB SERVICES DAVIDE ZERBINO.
Virtual Ticketing Agents using Web Services and J2EE Advisor: Dr. Chung-E-Wang Date: 05/06/03 Naveen Repala.
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.
Interactive Systems Technical Design Seminar work: Web Services Janne Ojanaho.
G O B E Y O N D C O N V E N T I O N WORF: Developing DB2 UDB based Web Services on a Websphere Application Server Kris Van Thillo, ABIS Training & Consulting.
Presentation 7 part 2: SOAP & WSDL. Ingeniørhøjskolen i Århus Slide 2 Outline Building blocks in Web Services SOA SOAP WSDL (UDDI)
Latest techniques and Applications in Interprocess Communication and Coordination Xiaoou Zhang.
J2ME Web Services Specification.  With the promise to ease interoperability and allow for large scale software collaboration over the Internet by offering.
6/11/2015Page 1 Web Services-based Distributed System B. Ramamurthy.
Project objectives Side issues Main issues MileGate ? Embedded HTTP server HTML Generation Client tools Frameworks functionalities Evaluated frameworks.
Web Services Andrea Miller Ryan Armstrong Alex. Web services are an emerging technology that offer a solution for providing a common collaborative architecture.
Web Service What exactly are Web Services? To put it quite simply, they are yet another distributed computing technology (like CORBA, RMI, EJB, etc.).
Web Service Implementation Maitreya, Kishore, Jeff.
Processing of structured documents Spring 2003, Part 6 Helena Ahonen-Myka.
B2B Application Integration Using Web Services
A Choice between Interoperability and Migration By Chaitanya Kurada Masters Defense Major professor: Dr.Daniel Andresen.
WEB SERVICES Web Development Technology. 2 Contents How it’s work? –Definition –Simple Web Service Invocation –Web Service Description –SOAP –UDDI.
A Scalable Application Architecture for composing News Portals on the Internet Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta Famagusta.
Web Services Mohamed Fahmy Dr. Sherif Aly Hussein.
1 Introduction CSIE, Da-Yeh University. 2 History of Software Development Traditional Programming Paradigm  Behind schedule, costly, and unreliable.
T Network Application Frameworks and XML Web Services and WSDL Sasu Tarkoma Based on slides by Pekka Nikander.
Outline  Enterprise System Integration: Key for Business Success  Key Challenges to Enterprise System Integration  Service-Oriented Architecture (SOA)
Distributed Communication via ASP.Net Web Services and.Net Remoting By Richard King.
James Holladay, Mario Sweeney, Vu Tran. Web Services Presentation Web Services Theory James Holladay Tools – Visual Studio Vu Tran Tools – Net Beans Mario.
Web Services Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
Web Services based e-Commerce System Sandy Liu Jodrey School of Computer Science Acadia University July, 2002.
Web Services Based on SOA: Concepts, Technology, Design by Thomas Erl MIS 181.9: Service Oriented Architecture 2 nd Semester,
Web Services. ASP.NET Web Services  Goals of ASP.NET Web services:  To enable cross-platform, cross- business computing  Great for “service” based.
Web Services. Abstract  Web Services is a technology applicable for computationally distributed problems, including access to large databases What other.
Introduction to Server-Side Web Development Introduction to Server-Side Web Development using JSP and Web Services JSP and Web Services 18 th March 2005.
Databases JDBC (Java Database Connectivity) –Thin clients – servlet,JavaServer Pages (JSP) –Thick clients – RMI to remote databases –most recommended way.
WebService. Outline Overview of Web Services SOAP (messaging) WSDL (service description) UDDI (registry)
1 Web Services Web and Database Management System.
Enterprise Computing: Web Services
Web Services (SOAP) part 1 Eriq Muhammad Adams J |
XML and Web Services (II/2546)
S imple O bject A ccess P rotocol Karthikeyan Chandrasekaran & Nandakumar Padmanabhan.
Kemal Baykal Rasim Ismayilov
An Introduction to Web Services Web Services using Java / Session 1 / 2 of 21 Objectives Discuss distributed computing Explain web services and their.
Introduction to Web Services. Agenda Motivation History Web service model Web service components A walkthrough examples.
1 G52IWS: Web Services Chris Greenhalgh. 2 Contents The World Wide Web Web Services example scenario Motivations Basic Operational Model Supporting standards.
Developing Web Services with the Eclipse Web Tools Platform David Gallardo.
Web Services An Introduction Copyright © Curt Hill.
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.
Web Services Architecture Presentation for ECE8813 Spring 2003 By: Mohamed Mansour.
.NET Mobile Application Development XML Web Services.
Introduction to Web Services Presented by Sarath Chandra Dorbala.
Added Value to XForms by Web Services Supporting XML Protocols Elina Vartiainen Timo-Pekka Viljamaa T Research Seminar on Digital Media Autumn.
Java Web Services Orca Knowledge Center – Web Service key concepts.
Sabri Kızanlık Ural Emekçi
WEB SERVICES.
Unit – 5 JAVA Web Services
Overview of Web Services
Web services, WSDL, SOAP and UDDI
The future of distributed systems architecture
WEB SERVICES DAVIDE ZERBINO.
Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta
Introduction to Web Services
Distributed System using Web Services
Distributed System using Web Services
Presentation transcript:

A Cross-Platform Component Based Ecommerce Framework in.NET Vishwak Rajgopalan Under the guidance of Dr. Daniel Andresen (Major Professor) Dr. Mitchell Neilsen Dr. Gurdip Singh

Overview  Problem Statement  Solution  Advantages of cross-platform business components  Role of web services in cross-platform integration  Web Services concepts  System Overview  System Architecture  System Implementation  Performance Evaluation  Lessons Learnt  Conclusion  Future Work

Problem Statement  Integrating homogeneous components routine, relatively smooth  Integrating cross-platform components The Real Challenge?

Solution Develop an architecture that  is based on open standards  is platform and language independent  emphasizes on a mode of communication understandable to both systems

Advantages  Reduces software development lifecycle  Eliminates time spent in testing and debugging the application  Decreases “Time-to-Market” aspect of the web application

Why Web Services ?  XML based lightweight middleware infrastructure  Based on open standards – SOAP, UDDI, WSDL  Systems that understand HTTP are capable of exposing and consuming web services

Web Services Based Architecture  Web Services are the middleware that integrate heterogeneous systems over internet/intranets

Web Services Buzzwords  SOAP (Simple Object Access Protocol) - protocol for transmitting and receiving XML messages over HTTP  WSDL (Web Services Description Language) - describes the interface of a Web Service in a standardized way  UDDI (Universal Description, Discovery and Integration) - provides a worldwide registry of web services for advertisement, discovery, and integration purposes

SOAP  Simple Object Access Protocol  Provides a standard packaging structure for transporting XML documents over HTTP, FTP and SMTP.  Defines encoding and binding standards for encoding non-XML RPC invocations in XML for transport  Provides a standard transport mechanism that allows heterogeneous clients to interoperate

SOAP Message Structure

Sample SOAP Message ……………………………………………. <w:GetSecretIdentity xmlns:w=" XSLT-Man

WSDL  Web Services Description Language  standardizes how a web service represents the input and output parameters of an invocation, the function’s structure, the nature of the invocation  allows disparate clients to understand how to interact with a web service

Describes the custom or complex datatypes number and type of return values names of the input amd output SOAP messages WSDL Sample

<soap:operation soapAction= style="document" /> describes the style, encoding, and transport medium of the SOAP messages entry point to the web service WSDL Sample (contd.. )

UDDI  Universal Discovery, Description and Integration  standardized method for publishing and discovering information about web services  open framework for describing services, discovering businesses, and integrating business services  focuses on the process of discovery

Web Service Invocation

System Description  Web-based shopping portal catering to books  Web Application implemented in Microsoft.NET  Generic functionalities are third party business components implemented as EJB’s.

Third – Party Business Components  Tax Calculation Service  Shipping Cost Calculation Service  Credit Card Validation Service - Based on Luhn Algorithm

Technologies used  ASP.NET, ADO.NET, C#  ASP.NET WebMethod Framework  J2EE (EJB)  AXIS 1.1 Framework  JBOSS  IIS 5.0  Microsoft ACT  Apache JMeter

System Overview

System Architecture VENDOR (.NET) SOAP PROXY THIRD PARTY BUSINESS COMPONENT SOAP SKELET ON EJB DATABASE

Class Diagrams Buyer Class Diagram

Class Diagrams (contd..) Vendor Class Diagram Vendor Module 5 classes

Use Case: Buyer

Use Case: Vendor

Sequence Diagram: Tax Calculation

Sequence Diagram: Shipping Cost Calculation

Sequence Diagram: Credit Card Validation

Demo

Performance Evaluation: Web Application  No of Iterations (Vs) Response Time (20 users) WEB SERVER: PRESARIO x1000, 1.8 GHz Centrino ®, 512 MB RAM

Performance Evaluation: Web Application  No of Iterations (Vs) Response Time (40 users) WEB SERVER: PRESARIO x1000, 1.8 GHz Centrino ®, 512 MB RAM

Performance Evaluation: Web Application  No of Threads (Vs) Response Time WEB SERVER: PRESARIO x1000, 1.8 GHz Centrino ®, 512 MB RAM

Performance Evaluation: Web Service  No of Iterations (Vs) Response Time (20 users) WEB SERVER: PRESARIO x1000, 1.8 GHz Centrino ®, 512 MB RAM

Performance Evaluation: Web Service  No of Iterations (Vs) Response Time (40 users) WEB SERVER: PRESARIO x1000, 1.8 GHz Centrino ®, 512 MB RAM

Results  The web application irrespective of the type of web service it consumed showed similar performance.  For web application CPU usage was at 90% - 95%  Theoretically, a web application consuming a.NET web service should perform better.  Individually, a.NET web service showed better performance over a Java web service as expected.  For individual web services CPU usage at 70% - 75%

Analysis  High CPU usage (95%) and page fault rates overshadowed gains obtained from consuming a.NET web service as opposed to a Java web service  For individual web services, gains from the.NET web service overshadowed CPU usage (75%) and page fault rates

Implementation Issues  Making wsdl files generated by AXIS accessible to the.NET system  Setting up the requisite permissions to allow the.NET system access to host web pages on the notebook.  Insufficient documentation on interoperability between.NET and J2EE technologies.  JBoss.NET or AXIS ?  Working simultaneously with both.NET and J2EE API’s.

Lessons Learned  Cross-platform component integration through web services  Java and.NET API’s available for exposing business components as web services.  Role of JBoss and Axis in deploying stateless EJB’s as web services

Conclusion  Microsoft.NET and Axis need optimizations to identify and expose cross-platform components as web services  Cross-platform integration reduces the communication speed of the web application.  Cross-platform integration not suitable for web applications that require speedy communication with business components

Future Work  Improving security by using extending SOAP headers to carry authentication information  Including and exposing package tracking facilities as web services to obtain real-time data on orders.  Using the API’s provided by.NET and J2EE for working with XML for analyzing inventories, and generating order invoices  Organizations working on extending JSR to bring stateful beans and CMP’s under the purview of web services

References           

Questions ?