One option: Use the properties information in the beans deployment
descriptor...

-Chris.

> -----Original Message-----
> From: Bob Pecor [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, March 15, 1999 2:52 PM
> To:   [EMAIL PROTECTED]
> Subject:      Bean access to server info
>
> How does an object (at class initialization time) determine details of the
> EJB Server serving it up?
>
> I have an EJB that would like to register itself with, say, an LDAP server
> so potential clients can
> use it. It needs to build and store a URL as the "remotelocation"
> attribute
> of the LDAP entry.
> How can the bean determine this information in an implementation
> independent
> manner?
>
> Any ideas?
>
> Thanks,
>
> Bob
>
> Bob Pecor
> Vanguard Cellular Systems, Inc.
> 336.286.1742 (Voice)  336.286.1881 (Fax)
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>
> ==========================================================================
> =
> 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".

===========================================================================
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