DEV295
Introducing the Enterprise
Architect
Brian Travis
Chief Technical Officer
Architag International Corp
Introducing the
Enterprise Architect
Brian Travis, Chief Technical Officer
Architag International Corporation
[email protected]
TechEd 2003
Copyright © 1995-2003, Architag International Corporation.
All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.
Web Services
Implementation Guide
Volume 1: Getting Started
Copyright © 1995-2003, Architag International Corporation.
All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.
4
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.
5
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.
6
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.
7
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.
8
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.
9
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.
10
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.
11
A Pyramid of Architects
Strategic
Architect
Enterprise
Architects
Project
Architects
Deployment
Architects
Operations
Testing
Copyright © 1995-2003, Architag International Corporation.
All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.
...
12
Building Architects
Copyright © 1995-2003, Architag International Corporation.
All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.
13
Help!
•
•
•
•
•
So
So
So
So
So
many
many
many
much
much
languages
platforms
requirements
complexity
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.
14
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.
15
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.
16
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.
17
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.
18
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.
Produce Supplier
Wang Chun Grocery
BizTalk Server
Pocket PC
Garcia Food and Lotto
Meat Cooperative
Web services
Web Browser
FoodMovers
Store
Orders
Canned goods mfgr
EDI
Magic Happens
Here
Bob’s Grocery
Excel file
Supplier
Orders
otherdistributor
distributor
other
other
distributor
Other Suppliers
40thth/Bdwy
/BdwyGrocery
Grocery
40
th/Bdwy Grocery
40
th
40 /Bdwy Grocery
Web Browser
EDI
Copyright © 1995-2003, Architag International Corporation.
All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.
21
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.
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.
23
Layered Architecture
Users
Presentation Layer
Business Logic Layer
Data Access Layer
Data Sources
Copyright © 1995-2003, Architag International Corporation.
All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.
24
Service Portfolio
Warehouse
Manager
Order
Manager
Inventory
Manager
Update
Manager
Copyright © 1995-2003, Architag International Corporation.
All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.
25
UI Components
Pocket
PC
ASP.NET
Web Service
Order
Interface
Web Service
Access
Point
Excel
Spreadsheet
Compact
Interface
Warehouse
Interface
Web
Browser
Shipping
Manifest
Copyright © 1995-2003, Architag International Corporation.
All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.
ASP.NET
Site
26
UI
Components
UI Process
Components
Data Access and Sources
Data
Access
Classes
Data
Structure
Classes
Service
Agent
Credit
Check
Copyright © 1995-2003, Architag International Corporation.
All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.
27
Pocket
PC
ASP.NET
Web Service
Order
Interface
Excel
Spreadsheet
Web Service
Access
Compact
Point
Interface
Warehouse
Interface
Web
Browser
Shipping
Manifest
ASP.NET
Site
UI
Components
UI Process
Components
Presentation Layer
Warehouse
Manager
Synchronize
Item DB
Order
Manager
Utility
Project
Inventory
Manager
BizTalk
Orchestration
Update
Manager
Business
Logic
Classes
Business Logic Layer
Data
Access
Classes
Data
Structure
Classes
Service
Portfolio
Business
Workflows,
Business
Components,
Business
Entities
Service
Agent
Data Access Layer
Credit
Check
External
Service
Data Sources
Copyright © 1995-2003, Architag International Corporation.
All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.
28
Interfaces,
Services,
and Data
Business Process Flows
StoreOrder
1. WebUI client
2. Spreadsheet
3. Compact device interface
Receive Order
Check Credit (Stores DB)
No
Credit OK?
Yes
For each item requested
Look up item (Inventory DB)
Issue Exceptions
No
Item
Yes found?
Do error processing
Enter order information
For each item requested
End
Copyright © 1995-2003, Architag International Corporation.
All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.
End
29
Components as Services
Progressive Soup Co.
SQL Server 2000
Items
SQL
Server
Order
Interface
Order
Manager
Inventory
Stores
Store
Orders
ASP.NET
Site
Credit
Check
Store
Web
Browser
Compact
Interface
Store
Excel
Spreadsheet
Store
Pocket
PC
Copyright © 1995-2003, Architag International Corporation.
All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.
30
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.
<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>
Policies in TDL
Copyright © 1995-2003, Architag International Corporation.
All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.
32
...
Restrictions
in TDL
<ELEMENT>
<ID>projCSharpProject</ID>
<IDENTIFIERS>
<IDENTIFIER>
<TYPE>PROJECT</TYPE>
<IDENTIFIERDATA>
<NAME>FileExtension</NAME>
<VALUE>.csproj</VALUE>
</IDENTIFIERDATA>
</IDENTIFIER>
VSWIZARD 7.0
</IDENTIFIERS>
Wizard=VsWizard.VsWizardEngine.7.1
</ELEMENT>
Param="WIZARD_NAME = CSharpWebServiceWiz"
Param="WIZARD_UI = FALSE"
...
Param="PROJECT_TYPE = CSPROJ"
<ELEMENT>
<ID>projCSharpWebService</ID>
<PROTOTYPES>
<PROTOTYPE>[VC#]\CSharpProjects\CSharpWebService.
vsz</PROTOTYPE>
</PROTOTYPES>
</ELEMENT>
Copyright © 1995-2003, Architag International Corporation.
All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.
33
Template
Copyright © 1995-2003, Architag International Corporation.
All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.
34
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.
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.
36
...Represented
in Visio...
Copyright © 1995-2003, Architag International Corporation.
All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.
37
...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.
38
SQLDataAdapter
DataSet
.NET Data Provider
SQLConnection
SQLDataAdapter
SQLCommand
SelectCommand
InsertCommand
UpdateCommand
DeleteCommand
dbDataAdapter.Fill
DataTable
Collection
DataTable
dbDataAdapter.Update
dbDataAdapter.Update
XML
Database
Copyright © 1995-2003, Architag International Corporation.
All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.
39
DataTable
DataTableMapping
DataSet
SqlDataAdapter.SelectCommand
SqlDataAdapter.Fill()
SqlDataAdapter.Update()
SqlDataAdapater,
DataTable
SqlDataAdapter.UpdateCommand
SqlDataAdapter.InsertCommand
SELECT
SqlDataAdapter.DeleteCommand
SqlDataAdapter
SQL Statements or Stored Procedures
UPDATE
INSERT
DELETE
SqlConnection
SQL Server
Database
Copyright © 1995-2003, Architag International Corporation.
All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.
40
XML Schema Editor
Copyright © 1995-2003, Architag International Corporation.
All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.
41
Users
HTML
XML/SOAP
Data Flow
EDI
Presentation Layer
Business Logic Layer
DataTable
Response
Request
XML/SOAP
Data Access Layer
DataSet
Data Sources
(internal)
XML/SOAP
Data Sources
(external)
Copyright © 1995-2003, Architag International Corporation.
All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.
44
Supplier
Internal
Buyers
SupplierOrder
Interface:
Security:
SOAP over HTTP
Synchronous
Authentication
Encrypted order
Signature
Users
ASP.NET
Web Service
GetSupplier
InsertSupplierOrder
Interface:
Security:
SOAP over HTTP
Synchronous
Embedded
GetSupplier
InsertSupplierOrder
SupplierOrder
Interface:
Security:
WinUI
User login
Typical
Request
Order
Interface
Presentation Layer
GetSupplier
InsertSupplierOrder
Interface:
Order
Manager
Security:
Business
Logic
Classes
DataTable
Update
Business Logic Layer
Data
Access
Classes
Data Access Layer
Data Sources
SOAP over HTTP
Synchronous
Embedded
Data
Structure
Classes
Stored Procedure
INSERT
Copyright © 1995-2003, Architag International Corporation.
All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.
45
Thin Clients
Deployment
Laptop
Computer
Load-balanced Web Farm
PDA
Web
servers
Browsers
External Services and
External Service Clients
Firewall
Computer
Laptop
PDA
Services
and Callers
Application Farm
BizTalk, Message Queue Cluster
Service
Business
Data
Access
Rich Clients
D is k a rra y
Database Cluster
UI and UI
Process
Componen
ts
D is k a rra y
Data
Sourc
e
Copyright © 1995-2003, Architag International Corporation.
All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.
46
Message Bus
Users
Presentation
Layer
Service
Interface
External
System
Message Bus
Web
Site
External
System
Service
Interface
Copyright © 1995-2003, Architag International Corporation.
All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.
47
Users
Progressive
Soup
Company
Presentation
Layer
Message Bus
Message Bus
Internet/SOAP
Update
Manager
Message
Bus
Warehouse
Manager
Intranet/SOAP
Inventory
Manager
Order
Manager
Message Bus
Message Queue – MSMQ
BizTalk Server 2002
BizTalk
Orchestration
Message Bus
Message Queue – MQ Series
Mainframe
Copyright © 1995-2003, Architag International Corporation.
All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.
48
Monitoring Applications
WinUI
Applications
WebUI
Applications
Other
Applications
WMI
WMI Object Manager
Class
System.
Management
Class
System.
Management.
Instrumentation
Instrumented
.NET
Applications
WMI
Repository
Class
WMI
Provider
BizTalk
Server
WMI
WMI
Provider
WMI
Provider
Provider
BizTalk
BizTalk
Server
Other
Server
unmanaged
code
Copyright © 1995-2003, Architag International Corporation.
All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.
49
Web Services
Implementation Guide
Volume 1: Getting Started
Copyright © 1995-2003, Architag International Corporation.
All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.
50
</Session>
Resources at http://architag.com/events
Copyright © 1995-2003, Architag International Corporation.
All rights reserved. Use without express written permission from Architag International Corporation is strictly forbidden.
Community Resources
Community Resources
http://www.microsoft.com/communities/default.mspx
Most Valuable Professional (MVP)
http://www.mvp.support.microsoft.com/
Newsgroups
Converse online with Microsoft Newsgroups, including Worldwide
http://www.microsoft.com/communities/newsgroups/default.mspx
User Groups
Meet and learn with your peers
http://www.microsoft.com/communities/usergroups/default.mspx
evaluations
© 2003 Microsoft Corporation. All rights reserved.
This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.
Descargar

XML and Web Services