hi ripan,
every bean is provided with a default JNDI context called the environment naming
context.(this is a part of th e bean-container contract)
"java:comp/env" is the default namespace or directory given to a bean on
deployment.
every other bean it references is mapped to the subdirectory "java:comp/env/ejb"
Every resource that is used is mapped to a name in the ENC.
For example, "java:comp/env/jdbc" is the suggested location for JDBC resources.
This method of following a directory structure has simplified the process of
looking up and obtaining bean references or locating other resources like a
database connection. During development ,the bean developer
can identify the type resourcesthat the bean is supposed to use and bind it to
the
default jndi context.
Hope this makes it clear
regards
sumesh
>
===========================================================================
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".