51
DEV295 Introducing the Enterprise Architect Brian Travis Chief Technical Officer Architag International Corp

DEV295 Introducing the Enterprise Architect Brian Travis Chief Technical Officer Architag International Corp

Embed Size (px)

Citation preview

DEV295

Introducing the Enterprise Architect

Brian TravisChief Technical OfficerArchitag International Corp

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

Brian Travis, Chief Technical OfficerArchitag International Corporation

[email protected]

Introducing the Enterprise Architect

TechEd 2003

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

4

Web Services Implementation GuideVolume 1: Getting Started

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

5

Systems Analyst

• Understand the business• Design systems• Break it down into pieces• COBOL

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

6

Flash Forward...

• 30 years later• Mainframes still around• Diversity rules• Departments not held hostage

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

7

Loss of Discipline

• Small systems proliferate• Many different programming languages• Single-programmer systems• Unchecked development and

deployment• Interoperability not possible

• Or even necessary

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

8

Modern Systems

• Applications have become• more critical to the organization• more complex in design and implementation• more diverse in language choice

• Lack of discipline makes integration very difficult

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

9

Then Came XML

• Standard for sharing data• Across organizational, departmental,

application boundaries• Application integration possible

• Now there's a way...... is there a will?

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

10

Systems Analyst Revisited

• Systems analyst no longer good enough• Job description includes

• Knowledge of current systems• Understanding of business processes• Ability to communicate to all parties• Knowledge of resources and possibilities

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

11

Meet the Architect

• More than just an analyst• More than a project manager• More than a DBA or programmer

• Several layers...

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

12

Operations Testing . . .

StrategicArchitect

Enterprise Architects

Project Architects

Deployment Architects

A Pyramid of Architects

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

13

Building Architects

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

14

Help!

• So many languages• So many platforms• So many requirements• So much complexity• So much interoperability

• The Architect needs help

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

15

Visual Studio.NET Enterprise Architect Edition

• Many languages supported• Many platforms supported• Many tools for interoperability

• Brings discipline back to system design and implementation

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

16

Project Development Phases

• Architecture• Design• Implementation• Deployment and Operations

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

17

Integration with other tools

• Visio for design and UML modeling• SQL Server for database design• SourceSafe for version control• Windows Management Instrumentation

(WMI)• Application Center Test (ACT)• Microsoft Operations Manager (MOM)

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

18

Bringing Discipline Back

• Policies and Templates• Enterprise Template (ETP)• Template Design Language (TDL)• Restricts programmers bases on project policy

• .NET Framework• Single model for run-time operations• Pointer management• Single set of objects• Multi-language support

• Working Together• Large teams• Version control• XML Web services interoperability

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

FoodMovers Distribution Company

"Field to Fridge...Fast"

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

21

FoodMovers

Garcia Food and Lotto

Web Browser

Produce Supplier

BizTalk Server

Meat Cooperative

Canned goods mfgr

other distributorother distributorother distributorOther Suppliers

Wang Chun Grocery

Pocket PC

Bob’s Grocery

Excel file

40th/Bdwy Grocery

StoreOrders

SupplierOrders

Web services

EDI

EDI

Magic Happens Here

Magic Happens Here

40th/Bdwy Grocery40th/Bdwy Grocery40th/Bdwy Grocery

Web Browser

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

Service-Oriented Architecture

Encapsulating Business Processes

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

23

Evolution of Architectures

• Process-Oriented Architecture• Uses processes to act on data• Requires that the system have intimate knowledge

of the process details in order to interface with them• Data is accessed and manipulated by these

processes, which can lead to corruption of the data and can compromise security.

• Service-Oriented Architecture• Encapsulates processes and data• Exposes processes and data together as a

homogenized service• Can be utilized where necessary while keeping the

data isolated, secure, and centrally managed

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

24

Data Sources

Data Access Layer

Business Logic Layer

Presentation Layer

Users

Layered Architecture

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

25

OrderManager

WarehouseManager

InventoryManager

UpdateManager

Service Portfolio

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

26

UI Components

ExcelSpreadsheet

WebBrowser

ASP.NETSite

OrderInterface

WarehouseInterface

CompactInterface

ShippingManifest

PocketPC

ASP.NETWeb Service

UIComponents

UI Process Components

Web ServiceAccessPoint

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

27

Data Access and Sources

Data AccessClasses

DataStructureClasses

Service Agent

CreditCheck

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

28

Data Access Layer

Business Logic Layer

Presentation Layer

ExcelSpreadsheet

WebBrowser

ASP.NETSite

OrderInterface

WarehouseInterface

CompactInterface

OrderManager

WarehouseManager

InventoryManager

UpdateManager

BizTalkOrchestration

Business Logic

Classes

Data AccessClasses

ShippingManifest

PocketPC

DataStructureClasses

SynchronizeItem DB

Data Sources

Service Agent

ASP.NETWeb Service

UIComponents

UI Process Components

Service Portfolio

BusinessWorkflows,Business

Components,BusinessEntities

Web ServiceAccessPoint

Utility Project

CreditCheck

External Service

Interfaces, Services, and Data

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

29

Business Process Flows StoreOrder Receive Order

Check Credit (Stores DB)

1. WebUI client2. Spreadsheet3. Compact device interface

Credit OK?No

Yes

EndEnd

Issue Exceptions

Item found?

No

Yes

Do error processing

Look up item (Inventory DB)

Enter order information

For each item requested

For each item requested

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

30

Components as Services

SQL Server 2000

SQL Server

OrderManager

Inventory

Stores

Items

StoreStoreStore

WebBrowser

ExcelSpreadsheet

PocketPC

CompactInterface

ASP.NETSite

CreditCheck

StoreOrders

Progressive Soup Co.

OrderInterface

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

Templates and Policies

"The Discipline Language"

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

32

Policies in TDL

<ELEMENT> <ID>etpWebServiceProjects</ID> <IDENTIFIERS> <IDENTIFIER> <TYPE>PROJECT</TYPE> <IDENTIFIERDATA> <NAME>GLOBAL:TDLELEMENTTYPE</NAME> <VALUE>etpWebServiceProjects</VALUE> </IDENTIFIERDATA> </IDENTIFIER> </IDENTIFIERS> <PROTOTYPES> <PROTOTYPE>[EF]\Projects\FoodMovers\WebServiceProjects\ WebServiceProjects.etp</PROTOTYPE> </PROTOTYPES> <ELEMENTSET> <DEFAULTACTION>EXCLUDE</DEFAULTACTION> <ORDER>INCLUDEEXCLUDE</ORDER> <INCLUDE>projInventoryManager</INCLUDE> <INCLUDE>projOrderManager</INCLUDE> <INCLUDE>projUpdateManager</INCLUDE> <INCLUDE>projWarehouseManager</INCLUDE> <INCLUDE>projCSharpWebService</INCLUDE> <INCLUDE>projCSharpProject</INCLUDE> </ELEMENTSET></ELEMENT>

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

33

Restrictions in TDL

...

<ELEMENT> <ID>projCSharpProject</ID> <IDENTIFIERS> <IDENTIFIER> <TYPE>PROJECT</TYPE> <IDENTIFIERDATA> <NAME>FileExtension</NAME> <VALUE>.csproj</VALUE> </IDENTIFIERDATA> </IDENTIFIER> </IDENTIFIERS></ELEMENT>

...

<ELEMENT> <ID>projCSharpWebService</ID> <PROTOTYPES> <PROTOTYPE>[VC#]\CSharpProjects\CSharpWebService. vsz</PROTOTYPE> </PROTOTYPES></ELEMENT>

VSWIZARD 7.0Wizard=VsWizard.VsWizardEngine.7.1Param="WIZARD_NAME = CSharpWebServiceWiz"Param="WIZARD_UI = FALSE"Param="PROJECT_TYPE = CSPROJ"

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

34

Template

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

Data Design

Visio and SQL Server

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

36

Design from the Project Architect...

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

37

...Represented in Visio...

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

38

...Imported into Visual Studio.NET

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

39

DataSet.NET Data Provider

Database

SQLConnection

SQLCommand

dbDataAdapter.Fill

dbDataAdapter.Update

SQLDataAdapter

SelectCommandInsertCommand

UpdateCommandDeleteCommand

DataTableCollection

DataTable

XML

dbDataAdapter.Update

SQLDataAdapter

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

40

SqlDataAdapter.Fill()

SQL Statements or Stored Procedures

SQL ServerDatabase

SqlDataAdapter

SELECT

UPDATE

INSERT

DELETE

SqlDataAdapter.Update()

DataTableMapping

SqlConnection

Sq

lData

Ad

ap

ter.

Sele

ctC

om

man d

Sq

lData

Ad

ap

ter.

Dele

teC

om

man d

Sq

lData

Ad

ap

ter.

Insert

Com

man d

Sq

lData

Ad

ap

ter.

Up

date

Com

ma

nd

DataSet

DataTable

SqlDataAdapater,DataTable

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

41

XML Schema Editor

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

44

HTML XML/SOAP

XML/SOAP

EDI

Business Logic Layer

Presentation Layer

DataSet

Data Access Layer

Data Sources(internal)

XML/SOAP

DataTable

Data Sources(external)

Req

uest

Resp

on

se

Users

Data Flow

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

45

Users

Data Access Layer

Business Logic Layer

Presentation Layer

OrderInterface

OrderManager

Business Logic

Classes

Data AccessClasses

Supplier

Internal Buyers

DataStructureClasses

Data Sources

ASP.NETWeb Service

SupplierOrderInterface: WinUISecurity: User login

GetSupplierInsertSupplierOrder

Interface: SOAP over HTTP

SynchronousSecurity: Embedded

SupplierOrderInterface: SOAP over HTTP

SynchronousSecurity: Authentication

Encrypted orderSignature

GetSupplierInsertSupplierOrder

Interface: SOAP over HTTPSynchronous

Security: Embedded

GetSupplierInsertSupplierOrd

erDataTable Update

Stored Procedure INSERT

Typical Request

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

46

External Services and External Service Clients

Thin Clients

Load-balanced Web Farm

Application FarmBizTalk, Message Queue Cluster

Database Cluster

Rich Clients

SQL Server SQL Server

Data Source

Server

Server

Server

Server

Service Business Data Access

Disk array

Computer

Laptop

PDA UI and UI Process Components

Server

Server

Server

Server

Web servers

Browsers

Disk array

Services and Callers

ServerServer

Server

Firewall

Computer

Laptop

PDA

Computer

Laptop PDA

Deployment

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

47

Service Interface

ServiceInterface

Message Bus

Users

PresentationLayer

ExternalSystem

ExternalSystem

WebSite

Message Bus

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

48

Message Bus

Internet/SOAP

WarehouseManager

Order Manager

Message BusIntranet/SOAP

Users

PresentationLayer

Message BusMessage Queue – MQ Series

Message BusMessage Queue – MSMQ

BizTalk Server 2002

BizTalkOrchestration

Mainframe

UpdateManager

InventoryManager

ProgressiveSoup

Company

Message Bus

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

49

WMI Object Manager

Monitoring Applications

System.Management

OtherApplications

Instrumented.NET

Applications

WinUIApplications

WebUIApplications

System.Management.

Instrumentation

Class

WMIProvider

WMIProvider

Class

Class

WMIRepository

BizTalkServer

BizTalkServer

WMIProvider

BizTalkServer

WMIProvider

Otherunmanaged

code

WMI

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

50

Web Services Implementation GuideVolume 1: Getting Started

Copyright © 1995-2003, Architag International Corporation.All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.

</Session>

Resources at http://architag.com/events

Community Resources

Community Resourceshttp://www.microsoft.com/communities/default.mspx

Most Valuable Professional (MVP)http://www.mvp.support.microsoft.com/

NewsgroupsConverse online with Microsoft Newsgroups, including Worldwidehttp://www.microsoft.com/communities/newsgroups/default.mspx

User GroupsMeet and learn with your peershttp://www.microsoft.com/communities/usergroups/default.mspx

evaluationsevaluations

© 2003 Microsoft Corporation. All rights reserved.© 2003 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.