|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
t, {9 w% S/ y- w1 a* D: |. |
; y. Y4 Q( d2 B) U0 s N4 K
( Q! Y1 j6 ?; Z/ E$ ^$ @2 e
, p4 X O7 p0 y0 _& V, ~0 C, h, k
Service-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:
- z ?5 c- ]; _# L) L7 q) S• Contract-based interfaces m& g4 g5 a4 j$ Z4 o8 b M
SOA promotes the use of abstract interfaces independent of underlying business
3 q" c( h$ w! n6 G3 O1 w2 c5 Vlogic implementations. These interfaces represent a contract between clients
: \& Q" D: o0 S- G) I- h( Wand the business applications. As long as the client makes a proper request for a6 R" X- R* j/ t' v
service, the server honors it and returns a response in the format specifi e d in
9 x; t6 m2 s% f1 o3 }the contract. The SOA contract helps to uncouple client and server development0 B/ U7 |5 k* m: m- k% D* M
activities and allows them to evolve independently so long as the contract
+ L! v/ p7 W- v: qremains intact.# l, Z; t% M. l: n# H/ b
• Coarse-grained interfaces
; T" b( J, b7 CSOA interfaces also tend to be coarse-grained, in the sense that they ideally
+ r& {3 N g3 d/ d1 ~represent a complete business transaction. The client makes a request for some
- o3 D% p4 o V; b( G4 i) gtype of work to be done; the server executes the full operation without any
/ Q8 }2 G- N: x5 D: G7 x2 X: pintervening conversation with the client, and then sends back a fully-complete+ `: T, K; C$ h3 H4 F! k% W
response to the client. This results in fewer remote calls to API and brings about1 f2 s) z: Y% B, K% E& g! q
a nonchatty interface.
3 n8 e a/ T" h& ?/ h* o• Single entry point to business logic1 M# q7 U( \, e" G
After a service is exposed throUGh SOA, it is immediately available to all
9 G+ W. z8 N8 H( H0 k; F ?clients. Because the service is contract-based, the server logic does not require
- G$ o* S2 k( D% Z& a2 Oknowledge about the client requesting the service, which allows new client- T/ z1 E+ Q1 a k' k
technologies to be adopted without changing the service or invalidating other4 S( j2 M: L' v
clients using the service.
" z/ ^5 i9 `9 y" P
; M- q! r; ~) z) L) R |
|