|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
: X2 D' B0 _; k7 d7 b" W, L
, O. L/ y# w# h
2 p( B, R" |) O. D+ @2 t( Z
$ K: u! C1 {2 L4 W# y" C
e2 K' }( j$ U, a* tService-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:* {- K9 |( V, ^6 J$ F
• Contract-based interfaces; h3 p1 R) w9 U4 o: M' v8 C4 H
SOA promotes the use of abstract interfaces independent of underlying business
$ w6 o7 \8 A6 d$ h! k2 P% clogic implementations. These interfaces represent a contract between clients/ T' s2 H, H( V; J3 b
and the business applications. As long as the client makes a proper request for a9 r& {( }* f4 G; J
service, the server honors it and returns a response in the format specifi e d in- u6 s4 D, M1 g3 y- g4 u
the contract. The SOA contract helps to uncouple client and server development6 M7 X8 t2 R$ s/ s, |& o
activities and allows them to evolve independently so long as the contract+ }' P3 ]# h+ e1 T$ p" _. M( g1 N
remains intact.
& e" t2 D5 a& v' j$ M• Coarse-grained interfaces5 I. M, z6 r) ]+ H- Y, v( _; W! O# q
SOA interfaces also tend to be coarse-grained, in the sense that they ideally
! |" D( N! }. D# H+ { |represent a complete business transaction. The client makes a request for some
3 m( J3 `1 R% f9 T& j& stype of work to be done; the server executes the full operation without any; \# G3 |5 l8 ~. S3 n
intervening conversation with the client, and then sends back a fully-complete% [) e# B! q6 K! u, Z8 O# O
response to the client. This results in fewer remote calls to API and brings about
' ?: V k r6 z; K! B4 J: {2 ea nonchatty interface.- S. l, d4 V, ]1 Z
• Single entry point to business logic2 J8 J, I* i# T
After a service is exposed throUGh SOA, it is immediately available to all
+ G J1 g* M. J$ ?clients. Because the service is contract-based, the server logic does not require
. y( P4 Q& @' r& ^2 cknowledge about the client requesting the service, which allows new client3 j) d# Z' h; S: Q( S N: y
technologies to be adopted without changing the service or invalidating other
, V& N% ?& R1 Q" q, ~. _( }clients using the service.
; Z7 f' O# N# d/ N9 z4 ^
& r: o9 A. n0 U: e |
|