[JBoss-user] [EJB/JBoss] - Re: Relationships over different jar's

2004-07-09 Thread zarni
:-) He he ... this part disapeard ... :-)






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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Relationships over different jar's

2004-07-09 Thread zarni
Hey!

"jdwn" wrote : And the story never ends :-)
  | 
  | So I think I'll have to put the DD of B2 also in the DD of jar 1. But I'll also 
have to put the DD of the relationship between B1 and B2 in the DD of jar 1.
  | 
  | The problem is I don't know how to put these relationship tags in the DD using 
XDoclet.
  | Adding extra  tags is easy by defining an other xml file, but I can't find 
anything about adding extra  tags 
  | 
  | 
  | Joris

To add some extra rel. to the ejb-jar use the ejbdoclet task and run
this within the task.
 



Put a file named "relationships.xml" in the ${merge.dir}, and make sure the
extra relationships you need are in there :-) .

You may want to look here also : 

http://xdoclet.sourceforge.net/xdoclet/ant/xdoclet/modules/ejb/dd/EjbDotXmlSubTask.html

Have a nice day!



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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Relationships over different jar's

2004-05-27 Thread jdwn
And the story never ends :-)

After I got the relationship between two different jar files working, I ran very 
quickly in the following problem:

Entity A is in jar 1
Entity B1 is in jar 2
Entity B2 is in jar 2

Now A is having a relationship with B1. This is working perfect by calling A.getB1() 
and A.setB1().
But B1 is having a relationship with B2. When I try to call in a session bean in jar 1 
A.getB1().getB2() I get the following error:
 Method is not a known CMP field accessor, CMR field accessor, or ejbSelect method: 
methodName=

If I call B1.getB2() inside jar 2 there's no problem.

So I think I'll have to put the DD of B2 also in the DD of jar 1. But I'll also have 
to put the DD of the relationship between B1 and B2 in the DD of jar 1.

The problem is I don't know how to put these relationship tags in the DD using XDoclet.
Adding extra  tags is easy by defining an other xml file, but I can't find anything 
about adding extra  tags 

Any help is welcome
Thanks a lot!!

Joris

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

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



---
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] [EJB/JBoss] - Re: Relationships over different jar's

2004-05-27 Thread jdwn
Thanks a lot! One week of searching, never giving up, even when other people are 
saying it's impossible. It's possible!!!

Just put the entity you're refering to also in the ejb-jar.xml file and in the 
jbosscmp-jdbc.xml file.

Thnx!

Joris

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

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



---
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] [EJB/JBoss] - Re: Relationships over different jar's

2004-05-26 Thread ironbird
"jdwn" wrote : I watched the other topic (already watched it in a previous search), 
but it's surprising me that it's impossible to have relationships over different jar's.

You watch badly !


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

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



---
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] [EJB/JBoss] - Re: Relationships over different jar's

2004-05-26 Thread jae77
i believe this can be done (i'm pretty sure i'm doing it right now).

are you including the deployment descriptor information for the related beans? (you 
may also need to set dependencies on the other ejbs to make sure they are deployed 
before you app). 





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

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



---
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] [EJB/JBoss] - Re: Relationships over different jar's

2004-05-26 Thread jdwn
First of all, thanks for the quick replies!

I watched the other topic (already watched it in a previous search), but it's 
surprising me that it's impossible to have relationships over different jar's.

This means that I've to put nearly all my entity beans in one jar file (or dd). This 
is impossible and makes EB nearly unusable for me.

If I think of it more, it's saying that in a DB, two tables can't have a relationship 
even when they are in the same DB!

Are there possible workarounds for this huge problem?

Thnx!
Joris

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

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



---
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] [EJB/JBoss] - Re: Relationships over different jar's

2004-05-26 Thread ironbird
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=49941


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

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



---
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] [EJB/JBoss] - Re: Relationships over different jar's

2004-05-26 Thread [EMAIL PROTECTED]
Last time I tried this it was not possible. I don't know if 3.2.x has changed wrt this.


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

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



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