Can we use dependency injection for a remote EJB?

If yes, how to do it?I know the way using an InitialContext + lookup since we can specify URL, CREDENTIALs when create the InitialContext. But for dependency injection, where can we specify these informations? "ejb-ref" doesn't sound powerful enough...Thank you.
[284 byte] By [wwqqjavaa] at [2007-10-3 3:30:48]
# 1

There is a portable Java EE component called an Application Client which supports injection.Any necessary naming and security related configuration is set, if necessary, when starting the Application Client container in which your client component runs.See our EJB faq for more info :

https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html

ksaksa at 2007-7-14 21:24:45 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...