|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
B0 ?1 I9 b% @8 h% {! l
7 w( N$ {' n: T6 }3 k7 U/ S
+ ^# X8 `9 d2 b- Y
! h3 E+ L9 P4 A" f. A. k U0 D; m9 N' E
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:
0 o: |3 ]: |/ u- y1 @% H4 M• Contract-based interfaces
3 v1 p( K- P! N0 wSOA promotes the use of abstract interfaces independent of underlying business) g6 R9 Q/ [! M& i% N# Q4 c
logic implementations. These interfaces represent a contract between clients
' z* Y6 T5 z! O, A# h* I3 aand the business applications. As long as the client makes a proper request for a
' C4 X" F. M/ v/ Mservice, the server honors it and returns a response in the format specifi e d in
2 {: s* E* d7 T% Ithe contract. The SOA contract helps to uncouple client and server development! x/ G% E5 Q' H
activities and allows them to evolve independently so long as the contract
: R$ C0 }% w. l" P( r, K0 Z4 X3 b$ aremains intact.
* i% k: u. g: A$ Y" a6 Q• Coarse-grained interfaces0 p+ [* f8 R6 R9 \, a, A- v
SOA interfaces also tend to be coarse-grained, in the sense that they ideally
/ r+ l$ R+ F& A" x# f: \represent a complete business transaction. The client makes a request for some
7 D1 F! W( _2 jtype of work to be done; the server executes the full operation without any/ ?( q$ R8 I4 j; W* A0 q- L- y
intervening conversation with the client, and then sends back a fully-complete
% `3 A" R! w+ O6 Xresponse to the client. This results in fewer remote calls to API and brings about
4 J' a/ Y- p, C1 \3 ?- }a nonchatty interface.6 g' N' v) q- V3 T. @
• Single entry point to business logic$ v) U5 b5 f! a, Z1 A7 {
After a service is exposed throUGh SOA, it is immediately available to all0 `3 [3 q5 Q& s
clients. Because the service is contract-based, the server logic does not require# J. t! M1 R! Y# W/ Q3 S c R
knowledge about the client requesting the service, which allows new client9 j- E. r4 q C* r
technologies to be adopted without changing the service or invalidating other
$ ^0 C6 q1 b/ N; Y% z4 [6 Eclients using the service.: u* t! s" U! k6 s
+ e) P0 d; U9 M. U9 D3 @
|
|