Download presentation
Presentation is loading. Please wait.
1
Page 1, June 1, 2015 CBSE – graduate course An Introduction to Different Component Technologies Magnus Larsson
2
Page 2, June 1, 2015 CBSE – graduate course Different Technologies XML IEC 6 1131-3 COM EJB CORBA SOAP .NET Blackbox
3
Page 3, June 1, 2015 CBSE – graduate course Slide 1 An Introduction to CORBA Magnus Larsson Magnus.Larsson@mdh.se
4
Page 4, June 1, 2015 CBSE – graduate course Focus on swiftly-developed, easily usable (“off the shelf”) component standards. OMG’s Mission Develop a single architecture, using object technology, for distributed application integration, guaranteeing: reusability of components; interoperability & portability; basis in commercially available software. HOW?
5
Page 5, June 1, 2015 CBSE – graduate course 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
Page 6, June 1, 2015 CBSE – graduate course 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
Page 7, June 1, 2015 CBSE – graduate course CORBA (Common Object Request Broker Architecture) CORBAapps CORBAdomains CORBAfacilities CORBAservices OMA Overview Transactions Event Security Naming
8
Page 8, June 1, 2015 CBSE – graduate course 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
Page 9, June 1, 2015 CBSE – graduate course Enterprise Java Beans Magnus Larsson Magnus.Larsson@mdh.se
10
Page 10, June 1, 2015 CBSE – graduate course 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
Page 11, June 1, 2015 CBSE – graduate course Introducing EJB Used to build business systems Server side components Highly available (24x7) Fault tolerant Transactional Multi-user secure environment
12
Page 12, June 1, 2015 CBSE – graduate course 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
Page 13, June 1, 2015 CBSE – graduate course 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 - Sun’s implementation of CORBA ...
14
Page 14, June 1, 2015 CBSE – graduate course An Introduction to COM
15
Page 15, June 1, 2015 CBSE – graduate course Introducing COM Coming from OLE (Object linking and embedding) Microsoft’s 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
Page 16, June 1, 2015 CBSE – graduate course 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
Page 17, June 1, 2015 CBSE – graduate course A Simple COM Object A COM object has methods and state Language independent All Access is through the interface Supports multiple interfaces
18
Page 18, June 1, 2015 CBSE – graduate course 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
Page 19, June 1, 2015 CBSE – graduate course Interfaces Word processor version 1 Word processor version 2 Dictionary version 2 ISpellCheck Dictionary version 1 ISpellCheck Extend the existing interface for new functionality An old word processor can not work with a new version of the dictionary.
20
Page 20, June 1, 2015 CBSE – graduate course More About Interfaces Word processor version 1 Word processor version 2 Dictionary version 2 ISynonyms ISpellCheck Dictionary version 1 ISpellCheck A new interface for new functionality All versions can work with all versions
21
Page 21, June 1, 2015 CBSE – graduate course Introduction to XML Magnus Larsson
22
Page 22, June 1, 2015 CBSE – graduate course XML Overview XML = Extensible Markup Language Defined by the WWW Consortium www.w3c.orgwww.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
Page 23, June 1, 2015 CBSE – graduate course XML, SGML, HTML SGML XML HTML Meta level
24
Page 24, June 1, 2015 CBSE – graduate course 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
Page 25, June 1, 2015 CBSE – graduate course Example XML, What is the data?
26
Style Sheet or XSL, How is the data presented?
27
Page 27, June 1, 2015 CBSE – graduate course XML and XSL
28
Page 28, June 1, 2015 CBSE – graduate course SOAP
29
Page 29, June 1, 2015 CBSE – graduate course COM Object CORBA Client COM/CORBA Adapter How to make components interact There is a problem when components from different models wants to communicate Adapters can be used
30
Page 30, June 1, 2015 CBSE – graduate course boolean PlaceOrder([in] Title string, [in] Author string, [out] DaysToDelivery integer); 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 COM Object CORBA Client POST /BookServer HTTP/1.1 Host: www.newbooks.com Content-Type: text/xml-SOAP Content-Length: 160 MessageType: Call Sofies world Jostein Gaarder SOAP Message Call
31
Page 31, June 1, 2015 CBSE – graduate course 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 COM Object CORBA Client HTTP/1.1 200 OK Connection: close Content-Type: text/xml-SOAP Content-Length: 177 MessageType: CallResponse 1 7 SOAP Respose
32
Page 32, June 1, 2015 CBSE – graduate course Overview of the.NET Framework Magnus.ph.larsson@se.abb.com
33
Page 33, June 1, 2015 CBSE – graduate course 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.NET is a platform that enables: Software as services, especially over the web Distributed computing Componentization Enterprise services
34
Page 34, June 1, 2015 CBSE – graduate course.NET Platform Operating Systems Common Language Runtime Base Class Library ADO.NET and XML ASP.NETWindows Forms Common Language Specification VBC++C#JScript… Visual Studio.NET
35
Page 35, June 1, 2015 CBSE – graduate course.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
Page 36, June 1, 2015 CBSE – graduate course MSIL Compilation and Execution Source Code Language Compiler Compilation Before installation or the first time each method is called Execution JIT Compiler Native Code Native Code
37
Page 37, June 1, 2015 CBSE – graduate course 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
Page 38, June 1, 2015 CBSE – graduate course IEC 61131-1
39
Page 39, June 1, 2015 CBSE – graduate course IEC 6 1131-3 Language for realtime controller components Five languages Ladder diagram Structured text Function block diagram Instruction list Sequential functional chart
40
Page 40, June 1, 2015 CBSE – graduate course IEC 6 1131-3
41
Page 41, June 1, 2015 CBSE – graduate course Blackbox
42
Page 42, June 1, 2015 CBSE – graduate course 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
Page 43, June 1, 2015 CBSE – graduate course 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
Page 44, June 1, 2015 CBSE – graduate course 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
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.