I was browsing through the breed of IoC (Inversion of Control) Frameworks like PicoContainer & Spring. 품종의 브라우징을 통해 전 ioc (반전 제어) 프레임 워크 PicoContainer, & 스프링처럼합니다. I have one simple question for the proponents of these frameworks. 나는 1 개의 간단한 질문을하는 연구자가 이러한 프레임 워크합니다.

I come from the old camp where we merrily use 나는 어디에서 오는 우리가 즐겁게 사용할 오래된 캠프 Service Locator Pattern 서비스 로케이터 패턴을 for solving the same problems that IoC addresses. ioc 주소가 동일한 문제를 해결합니다. We face two typical problems in a Service Oriented Architecture . 2 개의 전형적인 문제에 우리가 직면하는 서비스 지향 아키텍처합니다.

Assume that a service A (defined by the interface) is provided by B, C & D implementations. 라고 생각하는 서비스 (에 의해 정의된 인터페이스)가 제공하는 b, c 개발 구현합니다. 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는보다 우수한 서비스 제공 업체도 알고 패은 최고의 b.. However D may not be available at all times. 그러나 언제든지 패 사용하지 못할 수있습니다. So we may need to fallback on C, when D is unavailable. 그래서 우리가 필요로 대체 가까하면 패를 사용할 수없습니다. 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? 어떻게 우리는 한 표준, 주소를 드라이버 규칙?

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는 이메일 & f, 디는 헤클러 & 일본 등 우리의 일반적인 패션을 지정할 필요는 본 서비스에 대한 데이터를 메타 - 드라이버 및 기타 우려처럼 주소를 지정 주문을하거나 사용량, 우아한 하락 등등

How does modern IoC frameworks address this? 현대적인 프레임 워크는 어떻게이 문제를 해결할 ioc?