Escolar Documentos
Profissional Documentos
Cultura Documentos
Service-Oriented Architecture
Mid-term exam revision
Dr Kevin (Kai) Zheng
1
The questions in the exam may not be exactly the same as the
ones in this lecture note
Its important for you to understand them, not just memorize
You will be asked to write simple lines of code in C# on the
paper, which may include defining class, variables in primitive
types, writing simple statement like assigning values, if-else,
for, foreach
Outline
Definition of SOA
Service abstraction
Standard
Characteristics of SOA
10
Reusability
Legacy leverage
Agility
Loose coupling
Interoperation
Service
Service provider
Service consumer
11
Characteristics of a service
12
Types of services
Atomic service
Composite service
13
VS
Build architect
14
Builder
Benefit of SOA
For IT:
15
Simpler systems
Lowering maintenance costs
Enhancing architectural flexibility
Lowering integration costs
Outline
16
Web Service
A web service is a
17
18
19
Standard protocol
Service description
20
need to know what web services exist and where to find them
Yellow pages
UDDI repositories (Universal Discovery, Description, and
Integration)
What is SOAP
What is WSDL
23
Outline
24
What is .NET
25
.NET architecture
26
27
MSIL
VB
C#
C++
Compiler
Compiler
Compiler
Assembly
Assembly
Assembly
Native
code
Managed
Code
Managed
CLR
Code
Managed
Code
CLR Services
28
Two-phase compilation
Unmanaged
Code
C# -- basics
Control logic
Handle exception
Trycatchfinally, throw
29
C# -- OO programming
OO principles
Class inheritance
Polymorphism
Encapsulation
30
Derive a subclass
Use virtual method to achieve dynamic binding
New
Lecture note 3
Virtual+override
31
Polymorphism
Depends on the real type in run time