An Introduction to Different Component Technologies - PowerPoint PPT Presentation

Loading...

PPT – An Introduction to Different Component Technologies PowerPoint presentation | free to download - id: 6b59a8-NmExM



Loading


The Adobe Flash plugin is needed to view this content

Get the plugin now

View by Category
About This Presentation
Title:

An Introduction to Different Component Technologies

Description:

Title: An Introduction to COM Author: Magnus Larsson Last modified by: Magnus Larsson Created Date: 10/16/1999 9:12:10 AM Document presentation format – PowerPoint PPT presentation

Number of Views:33
Avg rating:3.0/5.0
Slides: 45
Provided by: MagnusL47
Learn more at: http://www.idt.mdh.se
Category:

less

Write a Comment
User Comments (0)
Transcript and Presenter's Notes

Title: An Introduction to Different Component Technologies


1
An Introduction to Different Component
Technologies
  • Magnus Larsson

2
Different Technologies
  • XML
  • IEC 6 1131-3
  • COM
  • EJB
  • CORBA
  • SOAP
  • .NET
  • Blackbox

3
An Introduction to CORBA
  • Magnus LarssonMagnus.Larsson_at_mdh.se

Slide 1
4
OMGs Mission
  • Develop a single architecture, using object
    technology, for distributed application
    integration, guaranteeing
  • reusability of components
  • interoperability portability
  • basis in commercially available software.

HOW?
Focus on swiftly-developed, easily usable (off
the shelf) component standards.
5
OMG Background
  • Not-for-profit company based in United States,
    with representation in United Kingdom, Germany,
    Japan, Australia India.
  • Founded April 1989.
  • Small staff (35 full time) no internal
    development.
  • Sponsors Object World conference and DOC magazine
    to help spread the word.
  • Dedicated to creating and popularizing
    object-oriented standards for application
    integration based on existing technology.

6
The OMA Guide
  • Outlines the Object Management Architecture,
    contains foundation of standards including
  • Overview of integration problem, with reasons for
    object-oriented solution.
  • Objectives of the standards group.
  • Abstract object model.
  • Reference model (architecture).
  • Glossary of terms.

7
OMA Overview
CORBAdomains
CORBAapps
CORBAfacilities
CORBA (Common Object Request Broker Architecture)
Transactions
Event
Security
Naming
CORBAservices
8
CORBA
  • Common Object Request Broker Architecture
  • Standard for writing distributed object systems
  • Language independent
  • Not controlled by one company
  • Optional value added services
  • Slow moving
  • Steep learning curve
  • Different CORBA products may be incompatible

9
Enterprise Java Beans
  • Magnus Larsson
  • Magnus.Larsson_at_mdh.se

10
Background
  • Early 90s
  • Shift from two-tier, client-server application
    model to more flexible three-tier and multi-tier
    application models.
  • The new models separated business logic from
    system services and the user interface,
  • Placing it in a middle tier between the two.
  • middleware services
  • transaction monitors, message-oriented
    middleware, object request brokers
  • a greater emphasis on lightweight, easy to deploy
    clients.

11
Introducing EJB
  • Used to build business systems
  • Server side components
  • Highly available (24x7)
  • Fault tolerant
  • Transactional
  • Multi-user secure environment

12
J2EE
  • Java 2 Platform Enterprise Edition
  • Development platform
  • Portable
  • Multi-user
  • Secure
  • EJB is a cornerstone in J2EE
  • Is a specification, not a product

13
J2EE Technologies
  • Enterprise JavaBeans (EJB)
  • Java Remote Method Invocation (RMI)
  • Java Naming and Directory Interface (JNDI)
  • Java Database Connectivity (JDBC)
  • Java Transaction API and Service (JTA JTS)
  • Java Servlets and Java Server Pages (JPS)
  • Java IDL - Suns implementation of CORBA
  • ...

14
An Introduction to COM
15
Introducing COM
  • Coming from OLE (Object linking and embedding)
  • Microsofts Component Object Model (COM) was the
    first component model.
  • Distributed COM (DCOM) allows creating and
    accessing COM objects on another machine (1996
    with NT 4).
  • Allows component communication

16
Availability of COM
  • Windows and Macintosh
  • Software AG, Compaq and others supports DCOM on
    several UNIX platforms.
  • The main COM market is focused on Windows.

17
A Simple COM Object
  • A COM object has methods and state
  • Language independent
  • All Access is through the interface
  • Supports multiple interfaces

18
Specifying Interfaces
  • COM defines a binary standard for interfaces
  • Language independent implementation of the
    interfaces
  • Interfaces are defined in Interface Definition
    Language (IDL)
  • An interface has an GUID as an indentifier

IUnknown
IDispatch
19
Interfaces
  • Extend the existing interface for new
    functionality
  • An old word processor can not work with a new
    version of the dictionary.

ISpellCheck
Word processor version 1
Dictionary version 1
Word processor version 2
20
More About Interfaces
  • A new interface for new functionality
  • All versions can work with all versions

ISpellCheck
Word processor version 1
Dictionary version 1
Word processor version 2
21
Introduction to XML
  • Magnus Larsson

22
XML Overview
  • XML Extensible Markup Language
  • Defined by the WWW Consortium www.w3c.org
  • Structured representation of data
  • Industry standard, cross vendor/platform
  • Encode content, schema and semantics
  • Stateful object model
  • XML Elements Classes
  • XML Element Attributes Properties

23
XML, SGML, HTML
Meta level
SGML
XML
24
XML is valid
  • Valid XML XML combined with a DTD or XML Schema
  • DTD Document Type Definition
  • DTD defines the rules for the data
  • Which elements are present
  • What is the relationship between elements
  • An XML parser uses the DTD to verify that the XML
    is well formed

25
Example XML, What is the data?
26
Style Sheet or XSL, How is the data presented?
  • lt?xmlstylesheet type"text/xsl"
    href"testXML.xsl" ?gt

27
XML and XSL
28
SOAP
29
How to make components interact
  • There is a problem when components from different
    models wants to communicate
  • Adapters can be used

COM/CORBAAdapter
COMObject
CORBAClient
30
Simple Object Access Protocol
  • SOAP defines the messages with XML
  • SOAP piggybacks its messages on HTTP
  • Defines a way to communicate between different
    component models
  • Works through fire-walls

boolean PlaceOrder(in Title string,
in Author string, out DaysToDelivery
integer)
COMObject
CORBAClient
31
Simple Object Access Protocol
  • SOAP defines the messages with XML
  • SOAP piggybacks its messages on HTTP
  • Defines a way to communicate between different
    component models
  • Works through fire-walls

COMObject
CORBAClient
32
Overview of the .NET Framework
  • Magnus.ph.larsson_at_se.abb.com

33
What is .NET?
  • Publicly launched at PDC 2000
  • .NET is a platform that enables
  • Software as services, especially over the web
  • Distributed computing
  • Componentization
  • Enterprise services

34
.NET Platform
VB
C
C
JScript

Visual Studio.NET
Common Language Specification
ASP.NET
Windows Forms
ADO.NET and XML
Base Class Library
Common Language Runtime
Operating Systems
35
.NET Framework Components
  • Common Language Runtime (CLR)
  • Common type system for all languages
  • Runtime environment
  • Class libraries (.NET Framework)
  • Base class libraries, ADO.NET and XML
  • Windows Forms for, Win32 applications
  • Web application platform ASP.NET
  • Interactive pages
  • Web services that are SOAP enabled

36
Compilation and Execution
Compilation
MSIL
Source Code
Before installation or the first time each method
is called
37
Multi-Language Development
  • Advanced multi-language features
  • Cross language inheritance, exceptions
  • Over 20 languages currently supported
  • VB, C, C, Java, JScript, Pearl, COBOL
  • High leveraged tools
  • Debuggers, etc work with all languages

38
IEC 61131-1
39
IEC 6 1131-3
  • Language for realtime controller components
  • Five languages
  • Ladder diagram
  • Structured text
  • Function block diagram
  • Instruction list
  • Sequential functional chart

40
IEC 6 1131-3
41
Blackbox
42
BlackBox Component Builder
  • Development Environment
  • Component Pascal
  • Editor, Compiler, Debugging Tools, Repository,
    etc.
  • Component Frameworks
  • Extensible library of Components
  • GUI Builder
  • Based on Compound Documents

43
Component Pascal
  • Compiled to native code
  • Modular
  • Unique combination of Objects and Modules
  • Type checking (static dynamic)
  • Safe as e.g. Java
  • Garbage collector

44
Component Pascal
  • Can be used on all levels
  • Assembling components (scripting)
  • Developing components
  • From application-level to system-level
    components(garbage collector, component loader)
  • Specifying architectures and interfaces
  • Special support to express architectural
    properties
About PowerShow.com