[jboss-user] [EJB 3.0] - Re: ServiceLocator pattern - delegates in the context of EJB

ALRubinger do-not-reply at jboss.com
Thu Feb 1 12:36:21 EST 2007


"alesj" wrote : Lame in what way?
  | Why the need for ServiceLocator, what do you gain?

Lame in the way that the EJB3 Spec allowed intracontainer injection of dependencies; why not provide the same utility to client applications?  And in the process...abstract the inner plumbing of JNDI Lookups, naming exceptions, etc.

The JEE5 Application Clients spec doesn't quite fill these needs; doesn't provide for more than one Service Provider, no caching of SLSB and JMX Stubs, etc.

I'm really hoping to have some time to invest in this when things at my day job cool a bit.  I'd love for a public Service Locator integrated w/ the new injection framework.

So will post back when I'm able to commit something of worth.

S,
ALR

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009574#4009574

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009574



More information about the jboss-user mailing list