Hi Prasenjit ,

      Section 5.2 of Specs says:

        An EJB Container (container for short) is a system that functions as
the "container" for enterprise beans.
Multiple enterprise beans can be deployed in the same container. The
container is responsible for making
the home interfaces of its deployed enterprise beans available to the client
through JNDI API extension.
Thus, the client can look up the home interface for a specific enterprise
bean using JNDI API.

So JNDI - Names are indeed required....

Even if u can deploy a bean without a JNDI Name ( dont know if it is
possible) you may not
be able to get a reference to the bean since "all" clients of the bean will
have to use JNDI
to lookup the corresponding homes and then obtain a remote ref to the bean .

A good analogy would be

        String str1 = new String("Hello World 1");
and
        new String("Hello World 2")

In both cases you create a String Object but in the second case ytou dont
maintain a
reference to it ... so what is the use of creating it in the first place :-)
??

Regards ,
Navaneeth.

PS:    Please use an appropriate subject before posting to the group


----- Original Message -----
From: Prasenjit Mukherjee <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 29, 2000 5:53 AM


> Hi,
> Do you need to have a jndi-name associated with an EJB? I dont see it in
> the specs, but most of the AppServers need one. In that case what does it
> mean to deploy an ejb without a jndi-name ?
> regards,
> prasen
>
>
===========================================================================
> 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