> Hi!
> Thanks for the suggestions.
> I'm actually able to invoke the remote EJB setting either the properties 
> you mentioned in the call of the <code>new InitialContext</code> or 
> setting them in the <code>System</code> properties and then calling 
> <code>new InitialContext</code> without parameters ; anyway, I wish I 
> could do that without specifing the provider url in the code (as 
> J2EE.5.1 suggests).

I use a <context-param> in my web.xml to specify the provider URL, which 
is then read by my servlets in the init() method using...

getServletContext().getInitParameter("provider.url");

Then you are free to change without recompilation.

Jeff




--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to