A Service-Oriented Peer-to-Peer System for University Library Resource Sharing Presented By: Chandana Kancherla Supervisor: Dr. Haiping Xu Spring 2005.

Slides:



Advertisements
Similar presentations
웹 서비스 개요.
Advertisements

18 Copyright © 2005, Oracle. All rights reserved. Distributing Modular Applications: Introduction to Web Services.
Web Service Architecture
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
General introduction to Web services and an implementation example
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 12 Slide 1 Distributed Systems Design 2.
Virtual Ticketing Agents using Web Services and J2EE Advisor: Dr. Chung-E-Wang Date: 05/06/03 Naveen Repala.
Liang, Introduction to Java Programming, Seventh Edition, (c) 2009 Pearson Education, Inc. All rights reserved Chapter 42 Web Services.
Comparison of the RMI and the socket APIs
Slide 1 EE557: Server-Side Development Lecturer: David Molloy Room: XG19 Mondays 10am-1pm Notes:
2006 IEEE International Conference on Web Services ICWS 2006 Overview.
Workshop on Cyber Infrastructure in Combustion Science April 19-20, 2006 Subrata Bhattacharjee and Christopher Paolini Mechanical.
Software – Part 3 V.T. Raja, Ph.D., Information Management College of Business Oregon State University.
Web Service What exactly are Web Services? To put it quite simply, they are yet another distributed computing technology (like CORBA, RMI, EJB, etc.).
1 Java Server Programming zLecture 1 focuses on: yIntroduction to web services y Web Services using Axis y The bigger Picture: Introduction to J2EE y Java.
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.
Web service testing Group D5. What are Web Services? XML is the basis for Web services Web services are application components Web services communicate.
Processing of structured documents Spring 2003, Part 6 Helena Ahonen-Myka.
Web Services Mohamed Fahmy Dr. Sherif Aly Hussein.
1 Web Services Distributed Systems. 2 Service Oriented Architecture Service-Oriented Architecture (SOA) expresses a software architectural concept that.
1 3. Implementing Web Services 1.Create SOAP proxy interfaces and WSDL based service descriptions 2.Register/publish services 3.Stores service descriptions.
SSC2: Web Services. Web Services Web Services offer interoperability using the web Web Services provide information on the operations they can perform.
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)
Web Services & WCF ~ Ankit. Web services A web service is a collection of protocols and standards used for exchanging data between applications or systems.
1 HKU CSIS DB Seminar: HKU CSIS DB Seminar: Web Services Oriented Data Processing and Integration Speaker: Eric Lo.
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.
XML Registries Source: Java TM API for XML Registries Specification.
MobileMAN Internal meetingHelsinki, June 8 th 2004 NETikos activity in MobileMAN project Veronica Vanni NETikos S.p.A.
XML Web Services Architecture Siddharth Ruchandani CS 6362 – SW Architecture & Design Summer /11/05.
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.
Chapter 10 Intro to SOAP and WSDL. Objectives By study in the chapter, you will be able to: Describe what is SOAP Exam the rules for creating a SOAP document.
WebService. Outline Overview of Web Services SOAP (messaging) WSDL (service description) UDDI (registry)
Helsinki, June 7 th 2004 IAB Meeting MobileMAN Project Web Service in Ad Hoc Network Veronica Vanni NETikos S.p.A.
Copyright © 2013 Curt Hill SOAP Protocol for exchanging data and Enabling Web Services.
1 Peer-to-Peer Technologies Seminar by: Kunal Goswami (05IT6006) School of Information Technology Guided by: Prof. C.R.Mandal, School of Information Technology.
1 Web Services Web and Database Management System.
XML and Web Services (II/2546)
Hwajung Lee.  Interprocess Communication (IPC) is at the heart of distributed computing.  Processes and Threads  Process is the execution of a program.
INTRODUCTION TO DBS Database: a collection of data describing the activities of one or more related organizations DBMS: software designed to assist in.
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.
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.
.NET Mobile Application Development XML Web Services.
Introduction to Web Services Presented by Sarath Chandra Dorbala.
An approach to Web services Management in OGSA environment By Shobhana Kirtane.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
December 9, 2004 EC511 Java Pet Store Demo Chandra Donipati.
DEVELOPING WEB SERVICES WITH JAVA DESIGN WEB SERVICE ENDPOINT.
Introduction to Server-Side Web Development Introduction to Server-Side Web Development using JSP and Web Services Session IV: JSP and Web Services 11.
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 9 Web Services: JAX-RPC,
12. DISTRIBUTED WEB-BASED SYSTEMS Nov SUSMITHA KOTA KRANTHI KOYA LIANG YI.
Java Web Services Orca Knowledge Center – Web Service key concepts.
Sabri Kızanlık Ural Emekçi
WEB SERVICES.
Unit – 5 JAVA Web Services
Implementing a service-oriented architecture using SOAP
Inventory of Distributed Computing Concepts and Web services
Web services, WSDL, SOAP and UDDI
WebServices Using JAX-RPC
Introduction to Web Services
Chapter 42 Web Services.
Distributed System using Web Services
Presentation transcript:

A Service-Oriented Peer-to-Peer System for University Library Resource Sharing Presented By: Chandana Kancherla Supervisor: Dr. Haiping Xu Spring 2005 UMass Dartmouth

Outlines Peer-to-Peer Systems Web Services System Requirements System Architecture UML Diagrams Implementation Future Scope

Peer-to-Peer Systems File sharing P2P applications focus on storing and retrieving information from various peers in the network The model that popularized this class of application is the content exchange model A P2P application should be able to locate other peers in the network. Once an application is able to locate other peers, it should be able to communicate with them using messages. P2P systems consider that all nodes or peers are equal for sharing information.

Peer-to-Peer Systems Contd. There are two types of P2P architectures: Pure and Hybrid. Pure P2P : In this model, there is no main server. Every peer is a client as well as a server. Hybrid P2P: In this model, there is a special server that maintains a database and performs some administrative functions.

Web Services A Web service is accessible over the web. Web services communicate using platform-independent and language-neutral web protocols. A Web service provides an interface that can be called from another program. The Web service interface acts as a liaison between the web and the actual application logic that implements the service. Web services support loosely coupled connections between systems. The web service interface adds a layer of abstraction to the environment that makes the connections flexible and adaptable.

Web Services Contd. Three XML-based technologies have emerged as the standards for Web services: Simple Object Access Protocol (SOAP) defines a standard communications protocol for Web services. Web Services Description Language (WSDL) defines a standard mechanism to describe a Web service. Universal Description, Discovery and Integration (UDDI) provides a standard mechanism to register and discover Web services.

Requirements Design and implement a service oriented Peer-to-Peer system for University Library Resource sharing. When the user wants to perform a remote search on a peer from another network then the peer can select a peer from a remote network and send a request and that respective remote peer will perform a local search within its network and return the result to the requestor. The result of a remote search will contain all the URLs and the names of the Universities (hosts) that have the requested resource and the user will be allowed to choose from where he/she wants to download the book. Pure P2P architecture is used here which is a major feature since it eliminates the risk of single point of failure.

Architecture

Class Diagram AdminI uploadBook() (from admin) PeerServerI searchBookLocally() searchBookRemotely() downloadBook() (from server) PeerServerImpl propertiesFile : String = "librarySettings.txt" clearTimePeriod : long = 10 * 100 * 60 properties : Properties requests : HashMap = new HashMap () lastClearTime : Date = new Date () localHostList : ArrayList = new ArrayList () PeerServerImpl() searchBookLocally() searchBookRemotely() downloadBook() readLocalHostList() loadProperties() isRequestDone() clearRequests() getProperties() (from client) AdminImpl propertiesFile : String = "librarySettings.txt" properties : Properties uploadBook() loadProperties() (from admin) Library Library() addBook() getBook() findBook() compareBookDetails() compareStringBookDetails() compareIntegerBookDetails() openLibrary() saveLibrary() getNextID() getBookDetailsFromNode() addBookDetailsToNode() getBookFile() (from MyP2P) -library NetworkServerImpl propertiesFile : String = "librarySettings.txt" properties : Properties nets : HashMap NetworkServerImpl() getHosts() loadProperties() readNetsList() readHostsList() (from server) NetworkServerI getHosts() (from network server)

Class Diagram Contd.

Sequence Diagrams Local Search user interface Implementation of ClientI on the hosts of the same network Implementation of PeerServerI on the hosts of the same network Library on the same host Library on the same network Search request with book details details of the books with URLs

Sequence Diagrams Contd. Remote Search user interface Implementation of ClientI on the host on the other network Implementation of PeerServerI on the host on the other network Hosts on the other network Hosts on the other network Search request with book details Result of the search with book details and URLs

Sequence Diagrams Contd. Upload

Sequence Diagrams Contd. Download User Interface Implementation of the ClientI interface Implementation of the PeerServerI interface Library on the Local/remote host URL of the book Book

Programming Platform - J2EE The J2EE platform uses a distributed multi-tiered application model for enterprise application Web services are web-based enterprise application that use open, XML-based standards and transport protocols to exchange data with calling clients The J2EE platform provides the XML APIs and tools you need to quickly design, develop, test, and deploy web services and clients running on Java-based or non-Java-based platform JAX-RPC stands for Java API for XML-based RPC. JAX-RPC is a technology for building web services and clients that use remote procedure calls (RPC) and XML.

Implementation Local Search The program gets the search details from the user interface. An object of the class Request is created with all the search details specified by the user. The object Request is then serialized into an XML string The Search method is called on the local hosts with the XML string as parameter The search call returns another string that contains the serialization of the Object Reply which contains details of the book. The program unserializes the string for the object Reply.

Implementation Contd. Remote Search Similar to Local search except that instead of the method local search the method Remote Search is called.

Implementation Contd. Upload An instance of the AdminI Interface for the local host is created. The method uploadBook is called with the string that contains the serialization of the object Book. The method returns the result of upload and the program displays the result to the user.

Implementation Contd.

Download The program retrieves the host of the book selected from the object Reply. An instance/local stub of the PeerServerI interface is created The method download of PeerServerI is called with the book id (retrieved from the object Book) as the parameter. The method call returns the string that contains the serialization of the object Book. The program unserializes it and stores it to the specified space.

Future Scope Ability to store (and search) CD’s and audio visual aids. Web based client interface for the library. A text viewer incorporated into the Client application. Add ratings of the books.

Thank You