From Object-Oriented Programming to Component Software

Similar documents
Middleware Lou Somers

Infrastructure that supports (distributed) componentbased application development

SQLBase 8.0 and COM+ Transactions

What is Middleware? Software that functions as a conversion or translation layer. It is also a consolidator and integrator.

Web Services. Copyright 2011 Srdjan Komazec

Tier Architectures. Kathleen Durant CS 3200

Distributed Objects and Components

Client Server Architecture

Middleware: Past and Present a Comparison

Chapter 2: Enterprise Applications from a Middleware Perspective

Lehrstuhl für Informatik 4 Kommunikation und verteilte Systeme. Middleware. Chapter 8: Middleware

Sentinet for BizTalk Server SENTINET

Chapter 4. Architecture. Table of Contents. J2EE Technology Application Servers. Application Models

MIDDLEWARE 1. Figure 1: Middleware Layer in Context

Contents. Client-server and multi-tier architectures. The Java 2 Enterprise Edition (J2EE) platform

WSO2 Message Broker. Scalable persistent Messaging System

SOFT 437. Software Performance Analysis. Ch 5:Web Applications and Other Distributed Systems

Client-Server Applications

Mimer SQL Real-Time Edition White Paper

Motivation Definitions EAI Architectures Elements Integration Technologies. Part I. EAI: Foundations, Concepts, and Architectures

Sentinet for BizTalk Server SENTINET 3.1

Chapter 6. CORBA-based Architecture. 6.1 Introduction to CORBA 6.2 CORBA-IDL 6.3 Designing CORBA Systems 6.4 Implementing CORBA Applications

Application Problems. Agenda. Design Patterns. What is a Pattern? Architectural choices when building COM(+) Applications

Introduction to Service Oriented Architectures (SOA)

Chapter 16 Distributed Processing, Client/Server, and Clusters

.NET Overview. David Smith. Today s s Topics. Why am I here? A tool. Microsoft s s Vision for.net

Introduction: Web Services Are Changing

Sentinet for Windows Azure SENTINET

Service-Oriented Architecture and Software Engineering

2311A: Advanced Web Application Development using Microsoft ASP.NET Course 2311A Three days Instructor-led

COM+ OVERVIEW OF MICROSOFTS COM, DCOM AND COM+ COMPONENT TECHNOLOGIES DCOM - COM+ Peter R. Egli INDIGOO.COM. indigoo.com. 1/20 Rev. 1.

Software Engineering. Software Engineering. Component-Based. Based on Software Engineering, 7 th Edition by Ian Sommerville

Object Oriented Database Management System for Decision Support System.

Designing for Maintainability

Application Architecture for.net: Designing Applications and Services

1 File Processing Systems

.NET 3.0 vs. IBM WebSphere 6.1 Benchmark Results

What Is the Java TM 2 Platform, Enterprise Edition?

Chapter 18: Database System Architectures. Centralized Systems

Computer Information Systems (CIS)

Creating new university management software by methodologies of Service Oriented Architecture (SOA)

Module 17. Client-Server Software Development. Version 2 CSE IIT, Kharagpur

Frameworks For Component-Based Client/Server Computing

Patterns in. Lecture 2 GoF Design Patterns Creational. Sharif University of Technology. Department of Computer Engineering

Oracle Service Bus: - When to use, where to use and when not to use

DB2 Connect for NT and the Microsoft Windows NT Load Balancing Service

Outline SOA. Properties of SOA. Service 2/19/2016. Definitions. Comparison of component technologies. Definitions Component technologies

An Introduction to the COM+ Services

Latte Rapid Application Development. William Dunlap Product Manager Borland International

Chapter 1 Introduction to Enterprise Software

Information Systems Analysis and Design CSC John Mylopoulos. Software Architectures Information Systems Analysis and Design CSC340

Comparing Microsoft SQL Server 2005 Replication and DataXtend Remote Edition for Mobile and Distributed Applications

Fax Server Cluster Configuration

KEMP LoadMaster. Enabling Hybrid Cloud Solutions in Microsoft Azure

Automated Virtual Cloud Management: The need of future

Server-Side Scripting and Web Development. By Susan L. Miertschin

Client/Server Computing Distributed Processing, Client/Server, and Clusters

1. What are Data Structures? Introduction to Data Structures. 2. What will we Study? CITS2200 Data Structures and Algorithms

Ikasan ESB Reference Architecture Review

Service Oriented Architecture (SOA) An Introduction

Chapter 5 Application Server Middleware

DEPLOYMENT ARCHITECTURE FOR JAVA ENVIRONMENTS

Object-Oriented Databases Course Review

Interface Definition Language

Cache Database: Introduction to a New Generation Database

Chapter 2: Remote Procedure Call (RPC)

David Pilling Director of Applications and Development

Web Application Architectures

White Paper on NETWORK VIRTUALIZATION

independent systems in constant communication what they are, why we care, how they work

ON-LINE BOOKING APPLICATION NEIL TAIT

JOURNAL OF OBJECT TECHNOLOGY

Data Management in the Cloud

Chapter 2 TOPOLOGY SELECTION. SYS-ED/ Computer Education Techniques, Inc.

Centralized Systems. A Centralized Computer System. Chapter 18: Database System Architectures

Component Middleware. Sophie Chabridon. INT - INF Department - Distributed Systems team 2006

Java Web Services Training

PART IV Performance oriented design, Performance testing, Performance tuning & Performance solutions. Outline. Performance oriented design

Build Your Mobile Strategy Not Just Your Mobile Apps

Service Oriented Architectures

Introduction CORBA Distributed COM. Sections 9.1 & 9.2. Corba & DCOM. John P. Daigle. Department of Computer Science Georgia State University

App Servers & J2EE Platform. Contents: Transaction Processing Monitors. TP Monitors (cont) TP-Monitors. TP Standards. TP Monitors (cont)

Service Oriented Architecture 1 COMPILED BY BJ

Configuring Security Features of Session Recording

BUILDING HIGH-AVAILABILITY SERVICES IN JAVA

Challenges and Opportunities for formal specifications in Service Oriented Architectures

SQL Server What s New? Christopher Speer. Technology Solution Specialist (SQL Server, BizTalk Server, Power BI, Azure) v-cspeer@microsoft.

THE WINDOWS AZURE PROGRAMMING MODEL

Concepts of Database Management Seventh Edition. Chapter 9 Database Management Approaches

MATLAB in Production Systems, Database Integration, and Big Data Eugene McGoldrick

Managing a Fibre Channel Storage Area Network

BEA AquaLogic Integrator Agile integration for the Enterprise Build, Connect, Re-use

The ObjectStore Database System. Charles Lamb Gordon Landis Jack Orenstein Dan Weinreb Slides based on those by Clint Morgan

ORACLE INSTANCE ARCHITECTURE

JDBC Drivers, Bridges and SequeLink. Edward M. Peters Vice President & General Manager DataDirect

The ConTract Model. Helmut Wächter, Andreas Reuter. November 9, 1999

Java EE Web Development Course Program

Design of Scalable, Parallel-Computing Software Development Tool

Agenda. Background and cloud portability and interoperability concepts Distributed computing reference model. development Conclusions

OUR COURSES 19 November All prices are per person in Swedish Krona. Solid Beans AB Kungsgatan Göteborg Sweden

Transcription:

From Object-Oriented Programming to Component Software OO Languages: Ada, Smalltalk, Java, C++ Class versus Object: Express existence of objects directly in code Code is more expressive, easier to develop, less costly to maintain Main Concepts: Encapsulation hiding of implementation details Inheritance reuse existing objects in creation of new objects Polymorphism exhibit multiple behavior depending on object used Reuse: Code must be written in a general enough manner Language-independent

Component Software Object-Oriented Analysis and Design: Breakdown of a project in its logical components Components: Reusable pieces of software in binary form Interoperability Interfaces; Semantically related set of methods Strongly typed contract between software component and ist clients Articulation of expected behavior Reusable in a variety of contexts

Evolution of COM+ Clipboard 1987 OLE 1992 COM 1995 Distributed Computing 1980s OSF DCE RPC on Windows 1992 Microsoft Distributed Transaction Coordinator 1996 COM = Component Object Model Distributed COM 1996 Microsoft Transaction Server 1997 Microsoft Message Queue Server 1997 COM+ 1999

Problems of Complex Software Apps are large and complex: Time consuming to develop, difficult and costly to maintain, Risky to extend with additional funtionality Monolythic style: Prepackaged with a range of static features Add/remove/upgrade/replace features is difficult (impossible) Apps do not lend themselves to integration: Neither data nor functionality is available to another program Programming models reflect provider s upbringing: No location-transparency COM Software can better meet these challenges.

COM and COM+ COM: Fundamental programming architecture for building software components Unconfigured components Plus (+) an integrated suite of component services with an associated runtime environment Configured components Support for robust server-size systems Threading, concurrency, security Administration, robustness Example: Microsoft SQL server

Windows DNA: a COM+-based three-tier architecture

Evolution of Component Services Standard implementation of services that are frequently needed by component developers COM+ load balancing, in-memory database object pooling, queued components event model, administration Microsoft Transaction Server transaction services, resource pooling role-based security, administration just-in-time activation Distributed COM remoting architecture distributed component services COM interface-based programming basic component facilities

Just-in-time activation Scalability of middle-tier components Clients obtain references to context objects COM+ instantiates actual business objects (transparently) COM+ may de-activate objects (resource sharing) Client Client Client System-created context object shadows each user object IObjectContext ICustom Transaction ID Object-Creator ID The Object IObjectContext Transaction ID ICustom Object-Creator ID The Object (deactivated) IObjectContext ICustom Transaction ID Object-Creator ID The Object

Scalability Enhancements Object Pooling COM+ may recycle objects for later reuse Automatic instantiation of new objects when pools is empty Useful technique when object creation is very expensive (time) Load Balancing Client workload can be distributed among multiple servers in a network Load balancing at component level Clients contact load balancing router first COM+ uses response-time analysis algorithm to determine server Windows 2000 clustering service can be used to eliminate balancing router as single-point-of-failure

Queued Components Execute method calls against unavailable components Based on Microsoft Message Queue Server (MSMQ Windows 2000) Client Proxy (Recorder) Send queue MSMQ Server Stub (Player) Receive queue Component

Transactions COM+ components may automatically participate in distributed transactions Implemented by Distributed Transaction Coordinator: Object-oriented two-phase commit protocol based on COM (OLE Transaction specification: ITransaction, ITransactionDispenser, ITransactionOptions, ITransactionOutcomeEvents interfaces) Support of the X/OPEN DTP XA standard (two-phase commit) Originally bundled with SQL Server ACID properties of transactions: Atomic, Consistent, Isolated, Durable Four levels of transaction support for components: Requires/requires new/supports/does not support transactions

Security & Events Role-based Security: Leverage Windows 2000 security model Declarative and programmatic security Security settings on component and interfacce basis Events: Publisher/subscriber style of communication External event model: publisher/subscriber do not need to execute simultaneously Subscriptions are maintained outside of publisher/subscriber: persistent subscriptions Subscriber is any component that implements a given class interface