|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
7 n( }0 N% T! {3 _- V
8 R# M9 \6 g/ k
4 Q4 y9 U* T' ?$ d3 c( @
8 W6 v4 M. X. q/ k
- o% X: k0 J1 q# xService-oriented architecture, or SOA, refers to a style used in the development of enterprise-class business applications. Traditional business application development has followed a purpose-built paradigm that is now perceived as being inflexible and incapable of evolving at the same rapid pace that business markets and processes are now changing. SOA provides the flexibility and the opportunity for business applications to keep pace with changes in the global business climate.The most important characteristics of SOA that allow it to meet these fundamental objectives are:
) C1 x, T9 e% e• Contract-based interfaces
0 l" {2 e: T2 L9 }SOA promotes the use of abstract interfaces independent of underlying business
- Z9 z" J" }8 {; a, l$ G/ zlogic implementations. These interfaces represent a contract between clients) v4 x) R9 v! s9 G2 v/ a
and the business applications. As long as the client makes a proper request for a$ Z! @3 f* U- x; H* i5 L# a* p1 H7 r
service, the server honors it and returns a response in the format specifi e d in
# X$ [) y4 a* t6 A# N. Rthe contract. The SOA contract helps to uncouple client and server development
) j/ ^1 H$ b: L' B/ ~* Zactivities and allows them to evolve independently so long as the contract% B4 L: G* g8 [8 B$ _- l
remains intact.8 M3 T- Q, o: T; M: A. m' D
• Coarse-grained interfaces" @& u0 k6 N% ?5 m; R. a
SOA interfaces also tend to be coarse-grained, in the sense that they ideally
) F2 r" W; i- Nrepresent a complete business transaction. The client makes a request for some# S! h7 b4 M7 y3 @# v8 `0 o' U
type of work to be done; the server executes the full operation without any9 [# U$ Y" V% M
intervening conversation with the client, and then sends back a fully-complete( Q0 X) t- J& m; Q5 k
response to the client. This results in fewer remote calls to API and brings about
& v5 ~; w5 `) W1 Va nonchatty interface.- B' ~) @3 D; {% e* b
• Single entry point to business logic J$ H k v7 ? }
After a service is exposed throUGh SOA, it is immediately available to all
" a! j. o% t/ Uclients. Because the service is contract-based, the server logic does not require; j2 g2 j! f( b6 e9 v$ O" }/ T0 j$ i3 D# _
knowledge about the client requesting the service, which allows new client
, K$ i2 L/ X/ O4 T4 N6 |+ _technologies to be adopted without changing the service or invalidating other
! D8 }5 w1 T, {) V3 s; {clients using the service.
% o. S% ]( o& R$ I! X, w: f. O# v
1 c1 i4 Y; ?/ V6 p' s7 P. u |
|