开发者

Decoupling in Class and in Project other than IoC & Dependency Injection (java)

What other (besides IoC & Dependency Injection) decoupling patterns and practices could be used inside of an object and than between objects (in project).

If you could post samples if any in Java that would be awesome.

I'm working with spring and I'm r开发者_运维百科unning into situations where beans just won't cut it. So I just want to see alternative options. Mainly it is with integration of 3th party APIs that are written with very little consideration when comes to OOP. The re-usability of some of the API code is just atrocious.


Aspect Oriented programming. Spring also supports it http://static.springsource.org/spring/docs/2.5.x/reference/aop.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜