How Does IoC aka “Dependency Injection” Containers Address SOA QoS Requirements?请问国际奥委会又名“依赖注入”货柜处理国家海洋局的QoS的要求?
I was browsing through the breed of IoC (Inversion of Control) Frameworks like PicoContainer & Spring.我翻阅品种间海洋学委员会(反演控制)框架一样, picocontainer &春天。 I have one simple question for the proponents of these frameworks.我有一个简单的问题,为倡议者,这些框架。
I come from the old camp where we merrily use我来自旧营地,我们merrily使用 Service Locator Pattern服务定位模式 for solving the same problems that IoC addresses.为解决相同的问题,国际奥委会的地址。 We face two typical problems in a Service Oriented Architecture .我们所面对的两个典型问题,在一个面向服务的体系结构 。
Assume that a service A (defined by the interface) is provided by B, C & D implementations.假设一个服务(所定义的接口)是由乙,丙& D的实现。 Assume that they all have registered.假定他们的所有已注册的。 Now I know that C is superior service provider than B. I also know that D is the best.现在我知道C是优越的服务提供商比乙我也知道, D是最好的。 However D may not be available at all times.但D在无法提供在任何时候。 So we may need to fallback on C, when D is unavailable.因此,我们可能需要后备的C ,当D是不可用。 My first simple question is how do you pass on this information in a distributed environment when each of these services are provided by different Service providers.我的第一个简单的问题是你怎么通过关于这方面的资料,在分布式环境下,当每一个提供这些服务由不同的服务供应商。 How do we, as a standard, address QoS rules?我们如何,作为一个标准,地址的QoS规则?
Now assume that each of these services have hot-swappable components.现在假设每个这些服务有热插拔组件。 B has E & F, D has H & J etc. We need to specify that in a generic fashion meta-data about the service addressing QoS and other concerns like specifying order or usage, graceful decline etc. B已E及F署署长已h生等,我们需要指定,在一个通用的时装元数据有关的服务,解决QoS的问题和其他问题一样,指定命令或使用,优美的下降等。
How does modern IoC frameworks address this?请问现代国际奥委会的框架解决这个?
Filed under提起下 How To如何 , , Java Software Java软件 , , Web网页 , , Web Services Web服务 | |
| |
RSS 2.0 2.0 | |
Trackback Trackback跟踪 this Article |此文章|
Email this Article电子邮件此文章
You may also like to read您也可以想读 |




June 2nd, 2006 at 8:35 am 2006年6月2日在上午8时35分
I believe you would like to see flexible runtime component configurability (like OSGI) with IOC frameworks.我相信你想看到灵活的运行时组件配置(如的OSGi )与国际奥委会的框架。 You are not alone with your wish :).你并不孤单,与您的希望: ) 。 As far as I know neither Pico nor Spring support this ‘as is’.据我所知,既不是微微也不支持这个春天'是' 。 There are plans to support this in Spring, please see this:有计划,以支持这项在春天,请参阅此:
http://forum.springframework.org/showthread.php?t=23749
June 2nd, 2006 at 10:42 am 2006年6月2日在上午10时42分
I am happy to know other’s are on this too.我很高兴知道,其他的都是在这个太。 Thanks for the heads up.感谢元首。