[JBoss-user] [Persistence & CMP/JBoss] - Re: Bean not found for relation

2004-05-22 Thread ironbird
It is perfectly defined in the spec and the descriptor schema:

  | 
  | 
  | 
  | The ejb-nameType specifies an enterprise beanÃÂÃÂs name. It is
  | used by ejb-name elements. 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.There is no architected relationship between the used
  | ejb-name in the deployment descriptor and the JNDI name that
  | the Deployer will assign to the enterprise beanÃÂÃÂs home.
  | The name for an entity bean must conform to the lexical
  | rules for an NMTOKEN.
  | Example:
  | EmployeeService
  | 
  | 
  | 
For the ejb-name, you can use a path name relative to the referencing ejb-jar file. 
Appends the ejb-name of the referenced bean to the path name separated by #. 



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835926#3835926

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835926


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id66&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Bean not found for relation

2004-05-22 Thread agoncal
Thanks, I've put all the entities in only one jar with only one deployment descriptor 
and it's working fine.

Is the constraint "both beans have to be defined in the same dd if you have a cmr 
relationship between them" defined in the spec (I haven't found anything) or is this a 
JBoss limitation ?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835923#3835923

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835923


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Bean not found for relation

2004-05-19 Thread gorano
You can have your entities in different jars, no problem.

Do you have the beans defined in different deployment descriptors?

You can't have separate dds . Both beans have to be defined in the same dd if you have 
a cmr
relationship between them.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835585#3835585

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835585


---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user