Where ejbs are bound under JNDI is explicitly undefined in the spec so this
default treatment is JBoss specific. The spec says:

<ejb1.1 DTD>
<!--

The ejb-name element specifies an enterprise bean's name. This name is

assigned by the ejb-jar file producer to name the enterprise bean in

the ejb-jar file's deployment descriptor. The name must be unique

among the names of the enterprise beans in the same ejb-jar file.

The enterprise bean code does not depend on the name; therefore the

name can be changed during the application-assembly process without

breaking the enterprise bean's function.

There is no architected relationship between the ejb-name in the

deployment descriptor and the JNDI name that the Deployer will assign

to the enterprise bean's home.

The name must conform to the lexical rules for an NMTOKEN.

Used in: entity, method, and session

Example:

<ejb-name>EmployeeService</ejb-name>

-->

<!ELEMENT ejb-name (#PCDATA)>

</ejb 1.1 DTD>


----- Original Message ----- 
From: "Crothers.Dean" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, June 23, 2001 2:18 PM
Subject: [JBoss-user] <ejb-name> question


> Hi,
> 
> I have a quick question about the <ejb-name> deployment descriptor element.
> 
> By default JBoss puts a beans home interface under the <ejb-name> value in
> the global JNDI namespace. I was wanting to know whether this is defined in
> the spec (if it is I couldnt find it) - or is this a feature that is
> specific to JBoss?
> 
> 
> thanks,
> 
> 
> Dean
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to