|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
3 B F; e% m7 V0 ^( @2 [
2 ]2 D/ ]" }+ e0 d N$ M% Z
O' o- v- ]* z. l, W% G. H; ~0 P J V0 C
$ j; Z2 A- @$ P0 o' @1 B
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:1 U+ T# I8 w: v& \" C$ H, C
• Contract-based interfaces
_6 a% z1 Z, sSOA promotes the use of abstract interfaces independent of underlying business
/ d* `$ i! S/ @2 ilogic implementations. These interfaces represent a contract between clients
$ n" m! {& V7 J+ E. @: V6 Jand the business applications. As long as the client makes a proper request for a( y* t9 N* z2 B
service, the server honors it and returns a response in the format specifi e d in& @# V' N1 ], G9 y! l
the contract. The SOA contract helps to uncouple client and server development8 k& E' ~/ K9 I7 t5 _8 J) j
activities and allows them to evolve independently so long as the contract! n- Z- ]" ` m0 R z
remains intact.+ \% A a) N9 D, o! l
• Coarse-grained interfaces
' q3 N) V! J0 o' u" y6 `SOA interfaces also tend to be coarse-grained, in the sense that they ideally
# k7 y2 f) L' ^represent a complete business transaction. The client makes a request for some; F+ Q2 ?2 j. Q
type of work to be done; the server executes the full operation without any
6 I; \- d4 Y) p9 Mintervening conversation with the client, and then sends back a fully-complete
0 H7 `/ y1 C- q5 Z* k1 r x$ @5 gresponse to the client. This results in fewer remote calls to API and brings about0 s# J) }% G( Q: _+ Y' ~
a nonchatty interface.
5 ^. a$ w/ n B9 z! e6 U- `• Single entry point to business logic
$ j6 x/ C3 c1 B' t+ g8 VAfter a service is exposed throUGh SOA, it is immediately available to all
& |1 i1 [* ] m! p: iclients. Because the service is contract-based, the server logic does not require- N2 P( T9 v+ T$ O2 |3 U
knowledge about the client requesting the service, which allows new client5 ?4 @ Q& [ J$ O5 O
technologies to be adopted without changing the service or invalidating other
6 T7 s0 m ]& }) Y( X8 @) m' y$ U' y0 Tclients using the service./ ]% \- E: S6 p' }' w8 Y
/ {. ~# w/ p2 L" U L% R" m
|
|