Академический Документы
Профессиональный Документы
Культура Документы
By
Terry Cheng (郑书玄)
terrycheng@maveosystems.com
Chief Technology Officer
万域系统软件(上海)有限公司
http://www.maveosystems.com
Copyright Maveo Systems Shanghai 1
Session 1
Introduction to
Software Architecture
Copyright 1
Software Architect
is
Someone Who Can
Make
Sub-optimal Decision
in
Total Darkness
Copyright Maveo Systems Shanghai 3
Copyright 2
Intro. to Software Architecture
Copyright 3
Definition of Software Architecture
UML 1.3:
Architecture is the organizational structure of a system. An
architecture can be recursively decomposed into parts
that interact through interfaces, relationships that connect
parts, and constraints for assembling parts. Parts that
interact through interfaces include classes, components
and subsystems.
Copyright 4
History/Evolution
• Driven by business need
• Cost cutting
• Increase Revenue
• Strategic Advantage
• Driven by new technology
• Main Frame/Batch
• PC/interactive Real time
• LAN/WAN
• Internet
• Driven by Software Engineering principle, methodology
• Functional decomposition, sub routines
• Information Engineering
• Object Oriented Methodology
Copyright Maveo Systems Shanghai 9
Enterprise Architecture
Business Architecture
Application Architecture
Technical Architecture
Product Architecture
Copyright 5
How Software Architecture fit in
Enterprise Architecture
Copyright 6
Example of Software Architecture
Tech View
Copyright 7
Example of Software Architecture
Client Side
Tech Server Side
xml ActionMapping
URL Request
JSP
JSP Mapping
html
Content
Display struts taglibs
xsl maveo
XSLT
Processor
(Microsoft DOM)
taglibs
xsl
HTML / XSL /
css / js /
images etc. utility classes
Content com.maveo.util Database
Caching package
(JavaScript
Object Pool)
MAVEO UI Framework
Diagram By: Patrick Lai
Last Updated: 2 July 2002
Version: 2.0
EA
EA
EA
- TimeBasedRule:
- OutStanding: double
3.
3.
3.
3.
- Supplier: Company
50
50
50
50
- RealEstateType: int
+1
-U
-U
-U
-U
EA
EA
EA
EA
OweBy
AvailabilityCalculation
nr
nr
nr
nr
3.
3.
3.
3.
RealEstateType +0..n
eg
eg
eg
eg
50
50
50
50
is
is
is
is
AR
te
te
te
te
-U
-U
-U
-U
PhysicalStaticCollateral
EA
EA
EA
EA
re
re
re
re
nr
nr
nr
nr
d
d
3.
3.
3.
3.
Ow ner
eg
eg
eg
eg
- PurchaseCost: double
TR
TR
TR
TR
50
Owned By
50
50
50
i
- PurchaseDate: date
s
st
st
IA
IA
IA
IA
te
te
-U
-U
-U
-U
- OwnerT ype:
EA
EA
EA
EA
e
- CurrentMarketValue: double
L
L
L
L
re
re
re
re
nr
nr
- appraisedby: company
nr
nr
Ve
Ve
Ve
Ve
d
d
3.
3.
3.
3.
eg
eg
eg
eg
- AppraisedDate: date
TR
Located At
TR
TR
TR
50
50
50
50
rs
rs
rs
rs
i
is
i
is
Is a type of
st
st
io
io
io
io
IA
IA
IA
IA
-U
-U
-U
-U
te
te
EA
EA
EA
EA
e
e
n
n
n
n
L
re
re
re
re
Appraised by
nr
nr
nr
nr
Ve
Ve
Ve
Ve
d
d
d
d
3.
3.
3.
3.
eg
eg
eg
eg
Colaterral
TR
TR
TR
TR
50
50
50
50
rs
rs
rs
rs
- ReportFreq: ReportFreqType
is
is
i
st
st
io
io
io
io
- GrossMargin: float
IA
IA
IA
IA
te
te
-U
-U
-U
-U
EA
EA
EA
EA
e
e
n
n
n
Company
n
# currency:
L
L
L
L
re
re
re
re
nr
nr
nr
nr
# AdvanceRatio: float
Ve
Ve
Ve
Ve
d
d
d
3.
3.
3.
3.
Ev aluateationFreq
eg
eg
eg
eg
# Value: double
TR
TR
TR
50
50
50
50
rs
rs
rs
rs
R
is
i
i
st
st
s
io
io
io
io
IA
IA
IA
IA
-U
-U
-U
te
-U
te
EA
EA
EA
EA
e
n
n
n
n
L
L
L
L
re
re
re
re
nr
nr
nr
nr
Ve
Ve
Ve
d
d
d
IntellectualProperties
3.
3.
3.
3.
ReportFreqType
eg
eg
e
eg
eg
TR
TR
TR
TR
50
50
50
50
rs
rs
rs
rs
i
is
is
i
st
st
io
io
io
io
IA
IA
IA
IA
te
te
-U
-U
-U
-U
EA
EA
EA
EA
e
n
n
n
WIP
L
L
L
re
re
re
re
StaticCollateral
nr
nr
nr
nr
Ve
Ve
Ve
Ve
d
d
d
d
3.
3.
3.
3.
eg
eg
eg
eg
TR
TR
TR
TR
Priv atePublicCoShare
50
- AdvanceRatio: float
50
50
50
rs
rs
rs
rs
i
s
st
st
io
io
io
io
IA
IA
IA
IA
te
te
-U
-U
-U
-U
EA
EA
EA
e
e
n
n
n
n
L
L
L
re
re
re
re
- AdvanceRatio: float
nr
nr
nr
nr
Ve
Ve
Ve
Ve
d
d
3.
3.
3.
3.
eg
eg
eg
eg
- AdvanceRatio: float
TR
TR
TR
TR
50
50
50
50
rs
rs
rs
rs
i
is
i
i
CashDeposite
st
st
s
io
io
io
io
IA
IA
IA
IA
-U
-U
-U
-U
te
te
EA
EA
EA
EA
e
e
n
n
n
n
L
L
re
re
re
re
nr
nr
nr
nr
Ve
Ve
Ve
Ve
- Bank: char
d
d
d
d
3.
3.
3.
3.
StandByLOC
eg
eg
eg
eg
TR
TR
TR
TR
- DateDeposited: date
50
50
50
50
rs
rs
rs
rs
BankGuaranties
is
is
i
st
st
io
io
io
io
- DateExpire: date
IA
IA
IA
IA
te
te
-U
-U
-U
-U
EA
EA
EA
EA
e
e
n
n
n
- DateExpire: date
n
- Amount: double
L
L
L
L
re
re
re
re
- DateExpire: date
nr
nr
nr
nr
Ve
Ve
Ve
Ve
- Currency: int
d
d
d
3.
3.
3.
3.
eg
eg
eg
eg
TR
TR
TR
50
50
50
50
rs
rs
rs
rs
R
is
i
i
st
st
s
io
io
io
io
IA
IA
IA
IA
-U
-U
-U
te
-U
te
EA
EA
EA
EA
e
n
n
n
n
L
L
L
L
re
re
re
re
nr
nr
nr
nr
Ve
Ve
Ve
d
d
d
3.
3.
3.
3.
eg
eg
eg
eg
TR
TR
TR
50
50
50
50
rs
rs
rs
rs
i
i
is
st
st
s
io
io
io
io
IA
IA
IA
IA
te
te
-U
-U
-U
-U
e
n
n
n
n
L
L
L
re
re
re
re
nr
nr
nr
nr
Ve
Ve
Ve
Ve
d
d
d
eg
eg
eg
eg
TR
TR
TR
TR
rs
rs
rs
rs
is
is
is
is
io
io
io
io
IA
IA
IA
IA
te
te
te
te
n
n
n
n
L
L
L
re
re
re
re
Ve
Ve
Ve
Ve
d
d
TR
TR
TR
TR
rs
rs
rs
rs
io
io
io
io
IA
IA
IA
IA
n
n
n
n
L
L
Ve
Ve
Ve
Ve
rs
rs
rs
rs
io
io
io
io
n
n
n
Copyright 8
Components of Software
Architecture
• Business model
• Platform
• Layer/Network Model
• Domain Framework
• Technical Framework
• Deployment Model
Components of Software
Architecture
Logical Allocates classes and responsibilities to packages and
View subsystems.
Develop Allocates packages and subsystems to layers and
ment components. Also defines the development structure.
View
Process Allocates components to processes.
View
Physical Allocates processes to processors, nodes, networks.
View
Use (The Plus One) Captures requirements used to develop and
Case validate each of the other views.
View
Copyright 9
Principles of Good Architecture
• Scalable
• Flexible
• Extensible
• Reusable
• Open
• Common semantics
• Secure
• Business objectives
• Skill of development team and local market of team
• Cost to build and Maintain
• Materiality of Technology
• Current System constrain
• Migration, migration, migration
Copyright 10
Software Architecture Processes
• Business High Level Req High Level Architecture Decision
• Market/Technical Consideration Network Model/Platform Decision
• Business Modeling Class/Data modeling Data architecture
decision
• Use case, process/flow modeling UI decision
• Domain Framework from above two
• Implementation analysis Technical implementation decision
Technical Framework
• Implementation Language Tool decision
• Platform specific implementation architecture
• Sample/framework development
http://www.bredemeyer.com/
Copyright Maveo Systems Shanghai 21
What’s Next
• Pattern
• Product line Architecture
• Documenting Software Architecture
• Evaluate Software Architecture
Copyright 11
Summary
• Software Architecture need to consider from both
technical point of view as well as business point of view
• There are different ways to communicate architecture
design
• There is no THE best architecture for any one software
system
• Always need consider
• external constrain, such cost, infrastructure,…
• Maturity of IT organization, not only development,
but also operations
• Architecture is a live entity, therefore, ability to grow,
migrate is very important
Copyright Maveo Systems Shanghai 23
Q&A
Q&A
&
Break
Copyright Maveo Systems Shanghai 24
Copyright 12
Session 2
Copyright 13
What is Software Architect
Job Description
This position will be part of a team responsible for
improving the quality of internally developed Mutual Fund
Customer Service applications. Specific assignments may
include large projects as well as small enhancements
with both prioritized by business needs. Development
takes place in a highly collaborative environment that
places value on effective communication skills. Under
minimal supervision, the position plans, coordinates and
analyses new and existing application designs/techniques
to meet current and future needs. The position works with
users and developers to analyze, design, and implement
application systems and/or enhancements to existing
systems and may include leading a team for a specific
project. This position provides deep technology expertise
in a variety of areas.
Copyright Maveo Systems Shanghai 28
Copyright 14
Job Requirements
Advanced knowledge of programming language(s), software
development tools and environment(s) and systems analysis and
functional design is required.
In addition, thorough knowledge of database concepts, database
design, data modeling and system architectures is also required.
• Expert knowledge of application design principles, practices, system
development methodologies, (preferably OO), and software life cycles is
required.
• The ideal candidate possesses expert knowledge in one or more highly
specialized areas of application development.
• Experience in application development with the design and
programming of multi-tier applications utilizing J2EE technology coupled
with strong server programming abilities including Servlets, EJBs, and
JSPs is required.
• Experience with programming in Smalltalk is highly desired.
• Experience with Envy,Rational Rose, .NET, and/or HTML is helpful.
Copyright Maveo Systems Shanghai 29
Job Description
Copyright 15
Responsibilities
• Participate in complete software development lifecycle, including
analysis, design, code and unit test, for applications based on Microsoft
.NET technologies.
• Act as "subject matter expert" in assigned area of responsibility.
• Work with customers to formulate and define application scope and
objectives.
• Build relationships with customers to determine business requirements
• Build relationships with business partners.
• Provide technical consultation in new systems development, new
package evaluations, and enhancement of existing systems; participate
in structured walkthrough and technical reviews.
• Prepare functional specifications from which programs will be written;
design, code, test, debug, and document programs.
• Keep technical, communications, and business skills current with an
emphasis on understanding emerging Microsoft-based web/e-
commerce technologies and their impact on Berbee's customers.
• Plan, schedule, and conduct I-net (Inter/intra/extranet) system tests;
monitor test results; and take required corrective action.
Copyright Maveo Systems Shanghai 31
Job Requirements
• Broad awareness of basic Internet, intranet, and WWW
technologies, including: Inter/intra/extranet tools; Web installation,
configuration and performance management; Web navigation,
content, linking, and browser tuning; Web security and encryption
• Experience with .NET servers and tools required
• Web site design and development experience in a Microsoft
environment
• Working knowledge and skills in ASP, JavaScript, VBScript, and
XML as well as upcoming .NET technologies such as ASP.NET
and Visual Studio.NET
• Experience with the Microsoft family of .NET servers including
Content Management Server, BizTalk Server, Application Center
Server, Sharepoint Portal Server, etc.
• Working knowledge of SQL Server 2000 with database/Web
connectivity familiarity, plus database management and file
access methods
• Strong communications and interpersonal skills
• Strong problem solving/analysis skills
• Ability to work well both in teams and independently
Copyright Maveo Systems Shanghai 32
Copyright 16
Technical Skills
• Requirement gathering/Management
• Modeling and analysis methodology
• Full Software Development Life Cycle
• Modern architectural technologies, such as J2EE and
.NET
• In depth knowledge of programming languages
• Network, Security, hardware platforms
• Database
• Facilitation
• Communication/Presentation/Sales Skill
• Mentoring
• Domain Knowledge of area you working on
• Leadership
• Business acumen
Copyright 17
Conclusion 1
How do I start
• Become an excellent developer who knows why
not just how
• Understand the relationship of underline
technical architecture and software systems
• Understand current platform specific
architecture, J2EE and .NET
• Know the domain you are working on, become
an expert
• Read, read, read, think think think
Conclusion 2
Technical Ability
alone
is never enough
Copyright 18
Q&A
Q&A
Copyright 19