Hey

Bob Pecor wrote:
> Not enough info, Chris.  The info needed for the URL is the protocol and
> port
> (no problem with the host address).  One might also need the JNDI initial
> context factory class name as another attribute.

What Chris meant was that you put this info into the deployment
descriptor when you deploy the bean into the server, at which time the
relevant info should be available.

> The problem is that some vendors us the RMI registry and some use their
> own naming service.  In the latter case the initial context factory is also
> needed.

You should always be able to start the server with a -D parameter
setting this kind of info as global environment variables which your
beans then can use.

/Rickard

--
Rickard �berg

Computer Science student@LiTH
@home: +46 13 177937
Email: [EMAIL PROTECTED]
Homepage: http://www-und.ida.liu.se/~ricob684

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to