As long as you can provide a mock implementation for the service locator. Otherwise it's a bona-fide anti-pattern. That's the whole argument in the Fowler article.
Gabor --- "Noel J. Bergman" <[EMAIL PROTECTED]> wrote: > Serge Knystautas wrote: > > > Noel J. Bergman wrote: > > > Alexander Zhukov wrote: > > > > By mentioning JNDI I guess you are talking > about ServiceLocator > > > > pattern, right? It is considered as > anti-pattern. > > > Not here: > > <snip /> > > What is your point Noel? > > That there is a usefulness, and that the supposed > positioning of the pattern as an anti-pattern isn't > even agreed by those held up as the champions of > CdI. I think both approaches have their place. > > --- Noel > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > ===== Gabor Kincses Running Mandrake Linux 10.0 __________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]