hi ripan,
 as i told u yesterday i will ellaborate it a little.
What u did in EJB1.0 Spec's to get environment properties was
EJBContext.getEnvironment();
that has been deprecated in EJB1.1 Spec's and instead a standard protocol
has been defined to access the environment that is
"java:comp/env".
By this way u can get the info of other beans in ur invironment.
An important thing  to get the environment by this way is that  ur bean
descriptor should define few properties like
<env-entry></env-entry> - for Environment Entries.
<ejb-ref></ejb-ref> - for references to other beans.
etc

well now this should help u i hope

***********************
enJoy Life with Technology
***********************
pirbhu




                    Ripan Bansal
                    <[EMAIL PROTECTED]        To:     [EMAIL PROTECTED]
                    >                        cc:
                    Sent by: A               Subject:     Re: Regarding java:comp/env
                    mailing list for         environment naming context
                    Enterprise
                    JavaBeans
                    development
                    <EJB-INTEREST@JAV
                    A.SUN.COM>


                    02/13/01 06:01 PM
                    Please respond to
                    A mailing list
                    for Enterprise
                    JavaBeans
                    development





I am sorry i didn't get it. Can you please elaborate with an example

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 13, 2001 5:01 PM
To: [EMAIL PROTECTED]
Subject: Re: Regarding java:comp/env environment naming context


Significance lies in the XML DeploymentDescriptor which u provide with ur
ejb.jar,i.e -ejb-jar.xml.
thier u have to specifies by how or by which name u (if u really want to)
want to expose ur EJB to the same enviroment context.

hope u get this

pirbhu

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

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