|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
- p1 Q; O8 i# d/ w
$ i8 a+ F& {' S; V5 X3 d3 Y% t/ c1 q1 Z* @( t
7 G. I% Z* {% F$ y% i1 g
2 h0 {7 t4 c* Q) g
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:- E, T6 b- h. B7 |+ d% B; _
• Contract-based interfaces
. d2 ~2 v. y# |7 n2 R- E8 S7 QSOA promotes the use of abstract interfaces independent of underlying business6 p% ?9 v7 {" }* ?2 O3 x; e, x) N7 B
logic implementations. These interfaces represent a contract between clients5 b- Q U/ X7 }0 B0 I' R' h' T
and the business applications. As long as the client makes a proper request for a
7 T+ Q+ w. Y t8 x: dservice, the server honors it and returns a response in the format specifi e d in4 C- [" }% R% u' X4 f
the contract. The SOA contract helps to uncouple client and server development
) O; G2 L: o, |4 x8 Uactivities and allows them to evolve independently so long as the contract ?6 D7 F6 j( h5 j- A8 z' a: Q, l. h6 X1 |
remains intact.
9 W, R0 k ], F3 x& T5 K' z, v( \• Coarse-grained interfaces3 n, u" l( B$ t; p: }
SOA interfaces also tend to be coarse-grained, in the sense that they ideally
( B& Q0 G& B1 l, N. s) C+ f/ hrepresent a complete business transaction. The client makes a request for some, R+ u* Y9 k: D' \1 k
type of work to be done; the server executes the full operation without any
% ]/ L$ |' ?) y( \4 Ointervening conversation with the client, and then sends back a fully-complete
7 T8 A" f# x2 F/ Z1 hresponse to the client. This results in fewer remote calls to API and brings about
% ~* o! X6 V0 ua nonchatty interface.; z, ^& @/ F5 k' C
• Single entry point to business logic
5 ^# q D; v$ }# y4 b5 WAfter a service is exposed throUGh SOA, it is immediately available to all
; @, j; e: s% Y5 V b' oclients. Because the service is contract-based, the server logic does not require
( e3 p8 l" T4 w+ d; zknowledge about the client requesting the service, which allows new client
5 H+ m1 ~. Y( A) s1 W+ W Itechnologies to be adopted without changing the service or invalidating other0 i6 `4 a% p( W$ I3 M
clients using the service.( w2 n/ J. s$ s3 m- v* e
$ }4 o' I {7 E3 N" H+ M |
|