Alexander Zhukov wrote:

> By mentioning JNDI I guess you are talking about ServiceLocator pattern, 
> right?  It is considered as anti-pattern.

Not here:

  http://jroller.com/comments/kdonald?anchor=static_service_locator_with_spring

nor here:

  
http://www.martinfowler.com/articles/injection.html#ServiceLocatorVsDependencyInjection

  "the decision between locator and injector depends on whether [the dependency 
on a locator] is a problem."

nor here ...

  http://corej2eepatterns.com/Patterns2ndEd/ServiceLocator.htm
  http://java.sun.com/blueprints/corej2eepatterns/Patterns/ServiceLocator.html
  http://java.sun.com/blueprints/patterns/ServiceLocator.html
  
http://www.oracle.com/technology/sample_code/tech/java/j2ee/designpattern/businesstier/index.html
  
http://www.instantiations.com/codepro/ws/docs/features/patterns/service_locator_pattern.html

        --- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to