Hadar Vorenshtein & Meital Levy Instructor yavgeni Rivkin.

Slides:



Advertisements
Similar presentations
Client/Server Computing (the wave of the future) Rajkumar Buyya School of Computer Science & Software Engineering Monash University Melbourne, Australia.
Advertisements

Welcome to Middleware Joseph Amrithraj
Threads, SMP, and Microkernels
What is RMI? Remote Method Invocation –A true distributed computing application interface for Java, written to provide easy access to objects existing.
COM vs. CORBA.
Tam Vu Remote Procedure Call CISC 879 – Spring 03 Tam Vu March 06, 03.
Copyright © 2001 Qusay H. Mahmoud RMI – Remote Method Invocation Introduction What is RMI? RMI System Architecture How does RMI work? Distributed Garbage.
Remote Procedure CallCS-4513, D-Term Remote Procedure Call CS-4513 Distributed Computing Systems (Slides include materials from Operating System.
.NET Remoting. .Net Remoting Replaces DCOM (Distributed Component Object Model – a proprietary Microsoft technology for communication among software components.
The road to reliable, autonomous distributed systems
Distributed Processing, Client/Server, and Clusters
Network Management Overview IACT 918 July 2004 Gene Awyzio SITACS University of Wollongong.
Chapter 16 Client/Server Computing Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
The Museum Project The Museum Project Yoav Gvili & Asaf Stein Supervisor : Alexander Arlievsky.
Distributed Object Computing Weilie Yi Dec 4, 2001.
Implementing Remote Procedure Calls Authors: Andrew D. Birrell and Bruce Jay Nelson Xerox Palo Alto Research Center Presenter: Jim Santmyer Thanks to:
CS 501: Software Engineering Fall 2000 Lecture 16 System Architecture III Distributed Objects.
1 COM/DCOM n Part of Project Presentation (Concept Outline)
Object Based Operating Systems1 Learning Objectives Object Orientation and its benefits Controversy over object based operating systems Object based operating.
Systems Architecture, Fourth Edition1 Internet and Distributed Application Services Chapter 13.
Chapter 8: Network Operating Systems and Windows Server 2003-Based Networking Network+ Guide to Networks Third Edition.
TCP/IP Tools Lesson 5. Objectives Skills/ConceptsObjective Domain Description Objective Domain Number Using basic TCP/IP commands Understanding TCP/IP3.6.
Source: George Colouris, Jean Dollimore, Tim Kinderberg & Gordon Blair (2012). Distributed Systems: Concepts & Design (5 th Ed.). Essex: Addison-Wesley.
11 SYSTEMS ADMINISTRATION AND TERMINAL SERVICES Chapter 12.
Automatic Software Testing Tool for Computer Networks ARD Presentation Adi Shachar Yaniv Cohen Dudi Patimer
© Paradigm Publishing Inc. 4-1 Chapter 4 System Software.
Module 13: Configuring Availability of Network Resources and Content.
 Cloud computing  Workflow  Workflow lifecycle  Workflow design  Workflow tools : xcp, eucalyptus, open nebula.
Chapter 4 System Software.
1 GAIA VoIP traffic generator and analyzer Presentation by Amrut Bang Ashish Deshpande Vijay Gabale Santosh Patil Sponsored by GS Lab Pvt. Ltd Pune Institute.
Chapter 6 Operating System Support. This chapter describes how middleware is supported by the operating system facilities at the nodes of a distributed.
COM vs. CORBA Computer Science at Azusa Pacific University September 19, 2015 Azusa Pacific University, Azusa, CA 91702, Tel: (800) Department.
Automatic Software Testing Tool for Computer Networks ADD Presentation Dudi Patimer Adi Shachar Yaniv Cohen
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Other Topics RPC & Middleware.
1 Chapter 38 RPC and Middleware. 2 Middleware  Tools to help programmers  Makes client-server programming  Easier  Faster  Makes resulting software.
CS 390- Unix Programming Environment CS 390 Unix Programming Environment Topics to be covered: Distributed Computing Fundamentals.
Learningcomputer.com SQL Server 2008 Configuration Manager.
Lecture 15 Introduction to Web Services Web Service Applications.
DISTRIBUTED COMPONENT OBJECT MODEL - A STUDY OF ITS ARCHITECTURE AND WHY IT IS CONSIDERED A FAILURE BY EXPERTS.
COM/DCOM Implementation Basics of: Object creation and access Object Reuse Interface referencing.
OLE / COM Helia / Martti Laiho Sources: MSDN Kraig Brockschmidt: Inside OLE Orfali-Harkey-Erwards: Client/Server Survival Guide.
CS 603 DCOM April 5, DCOM – What is it? Start with COM – Component Object Model –Language-independent object interface Add interprocess communication.
OOMI From COM to DCOM.
Application Layer Khondaker Abdullah-Al-Mamun Lecturer, CSE Instructor, CNAP AUST.
SEMINOR. INTRODUCTION 1. Middleware is connectivity software that provides a mechanism for processes to interact with other processes running on multiple.
1 Week #10Business Continuity Backing Up Data Configuring Shadow Copies Providing Server and Service Availability.
.NET Enterprise Services COM+ 1.5 麥超俊 Bobby Mak 架構技術推廣經理開發工具暨平台推廣處台灣微軟股份有限公司.
Transparent Mobility of Distributed Objects using.NET Cristóbal Costa, Nour Ali, Carlos Millan, Jose A. Carsí 4th International Conference in Central Europe.
CS 501: Software Engineering Fall 1999 Lecture 12 System Architecture III Distributed Objects.
OOMI A short introduction to Microsoft's COM From COM to DCOM.
Middleware Services. Functions of Middleware Encapsulation Protection Concurrent processing Communication Scheduling.
Module 1: Configuring Routing by Using Routing and Remote Access.
11 CLUSTERING AND AVAILABILITY Chapter 11. Chapter 11: CLUSTERING AND AVAILABILITY2 OVERVIEW  Describe the clustering capabilities of Microsoft Windows.
Jini Architecture Introduction System Overview An Example.
© Paradigm Publishing, Inc. 4-1 Chapter 4 System Software Chapter 4 System Software.
1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 4 Monitoring Network Activity.
COM / DCOM Xiaolan Lu Mingzhen Wang Dong Xie. Why COM / DCOM?  Challenges facing the software industry  Component software provides a solution  General.
Virtualization Technology and Microsoft Virtual PC 2007 YOU ARE WELCOME By : Osama Tamimi.
Threading in COM What is an Apartment and Why Do I Care?
COMP 655: Distributed/Operating Systems Summer 2011 Dr. Chunbo Chu Week 2, 3: Communication 1/30/20161Distributed Systems - COMP 655.
Serial / Ethernet Converter - IE-CS-2TX-XRS232/485
Common Object Request Broker Architecture (CORBA)
Apartments and COM Threading Models
Network Load Balancing
Out-of-Process Components
Chapter 9 – RPCs, Messaging & EAI
Chapter 3: Windows7 Part 4.
Ch > 28.4.
Out-of-Process Components
Load balancing of a wireless network
Presentation transcript:

Hadar Vorenshtein & Meital Levy Instructor yavgeni Rivkin

PDAs have become popular now days because of the growing need for mobile devices and mobile computing. The problem: PDAs have limited resources. The solution: to form a network of devices. By creating a wireless network, resources can be shared (computing power and software availability)

Example 1: a PDA has to do a complex calculation. By dividing it to several parts and Transmitting It to other nearby devices we can balance The load and get better results (shorter time).

Example 2: Activate an application that we know of, but we are not present on our PDA (because of a small memory). And is present on other PDA that we can communicate with.

To form a WLAN network and use the DCOM features in Windows CE enviorment.

To form a connection between two COMPAQ IPAQs using INTEL WLAN adapter and WLAN Access Point ( protocol). To pass a calculation from one IPAQ to another over the network layer, using COM+ technology.

Learning about WLAN and the protocol. Establish a connection between Access Point (INTEL 2011) and a PDA (COMPAQ IPAQ) with a WLAN adapter (INTEL 2011). Learning the CE operating system, its features and its software development tools.

Learning how to develop an application in the CE environment. Learning the COM+ technology and practice it in Windows 2000 environment. Building a Compoment and a client in Windows Activate the component in INPROC mode.

Activate the component in LOCAL mode. Activate the component in REMOTE mode. Building a component and a client in Windows Ce. Activate the component in INPROC mode.

Other modes failed. The reason is: DCOM do not really supported by PocketPc2002. the call to CoCreateInstanceEx does not work although the MSDN claims it is.

Com+ provides services to application. It combines COM & DCOM and adds a several services. DCOM stands for Distributed COM which means that you can make COM communicate between different machines COM enables unrelated software objects to connect and interact.

COM+ Load balancing In-memory database Object pooling Queued components Event model Better administration DCOM Remoting architecture Distributed component services COM Interface-based programming Basic component facilities

Com+ enable the programmer to use it without dealing with the other layers.

SCM – in case of using COM the SCM is the process that locate and loads the requested component (In out of process activation) When you invoke a component in process you don’t need any intermediate

In case of using DCOM and remote components it marshals them and transfer parameters between them.

Client COM+ : SCM RPC UDP IP Ethernet Windows 2000 Object Client COM+ : SCM RPC UDP IP Ethernet Windows 2000 Object Windows 2000

Client COM+ : SCM RPC UDP IP WLAN Adapter Windows CE Object Client COM+ : SCM RPC UDP IP WLAN Adapter Windows CE Object AP Windows CE IPAQ

What we have created is a component and a client that use the COM+ to communicate between machines. The client calls the component and the COM+ provides the parameter passing and the enviorment for the remote process to run in.

Creating a component that performs a simple calculation and a client to use it. At first locally in process mode Locally in a separate process space. Configured it to remote activation on a different machine.

After we managed to do it in the Windows 2000 environment we moved to Windows CE

The Functions F CoInitializeEx - This function initializes the Component Object Model (COM) for use by the current thread. F CoCreateInstanceEx - The function creates an instance of a specific class on a specific machine (for DCOM). F CoCreateInstance – Same as CoCreateInstanceEx (different parameters and options) (for DCOM & COM).

F QueryInterface - Returns a pointer to a specified interface on an object to which a client currently holds an interface pointer. F CoUninitialize - Closes the COM library on the current thread, unloads all DLLs loaded by the thread, frees any other resources that the thread maintains, and forces all RPC connections on the thread to close.

COM+ is a very powerful tool. It was very interesting learning some of its abilities. COM+ and Windows CE is a developing area So it can be expected to encounter problems during development.

We got very close to target, it most likely that in the coming version of Windows CE.NET it can all be done. One conclusion is that you can never know until you try, even If the documentations tells cretin things.

Finally we want to thank : our Instructor Yavgeny And the LAB staff.