Under EJB1.0 you should be able to get the environment object (a properties
object) from the context object (either session or entity).

Regards

Rob Masters

Sun Certified Java Architect, Developer, Programmer

Comcare Australia
(w) 02 6275 0632
(f) 02 657 4045
[EMAIL PROTECTED]
http://www.comcare.gov.au

> -----Original Message-----
> From: Thomas Cox [SMTP:[EMAIL PROTECTED]]
> Sent: October 14, 1999 2:47
> To:   [EMAIL PROTECTED]
> Subject:      Accessing DD properties from EJBean
>
> What is the syntax for accessing properties set in the Deployment
> Descriptor
> from within an EJB?
>
> I hope its not different based on Vendor implementation ; )
>
> Thanks.
> _________________________________________________________
>
> Tom Cox
> Solution Center of the Americas   Phone:   +1.612.397.4226
> 400 One Financial Plaza           Fax:     +1.612.692.4226
> 120 South Sixth Street            Alt Fax: +1.612.397.4370
> Minneapolis, MN 55402             e-mail:  [EMAIL PROTECTED]
> _________________________________________________________
>
>
> I'd imagine you should add
> these JNDI properties in your deployment descriptor as environment entries
> <env-entry>.  The only problem I see with that approach is the fact you'd
> be
> duplicating the same entries in a number of different deployment
> descriptors.
>
> Jeff Bailey ([EMAIL PROTECTED])
> Sr. Software Engineer
> NetGenics, Inc.
>
> ==========================================================================
> =
> 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