AFAIK the JBoss you mentioned supports most of CMP 2.x. If not, why don�t you switch to Release 3? Anyway, what you're trying to do as far as I understand is to create Container Managed Relationships (CMR). CMR is, however, a feature of EJB/CMP 2.0, and only work with local interfaces (beans deployed in the same app server/VM). What you're trying to do won't work.
Bernie -----Urspr�ngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Im Auftrag von Michal Kochanowicz Gesendet: Donnerstag, 11. Juli 2002 01:13 An: [EMAIL PROTECTED] Betreff: [Xdoclet-user] Many-to-many relationship on CMP-1.x Hi I'm trying to create two beans with many-to-many relationship using xdoclet. These beans are going to be deployed on JBoss-2.4.7, so I think I've got to use CMP 1.x. I've constructed the relationship by giving one of the beans Collection of second bean's remote interfaces (in fact I've just created abstract getter and muter and let xdoclet create Collection). But this doesn't work. The state of entire beans is preserved expect for the Collections. They're allways empty after load(), but as long as the instance of bean is in memory, everything is OK. What am I doing wrong? Is the idea ok, or should I take completely different approach? TIA. -- --= Michal [EMAIL PROTECTED] =-- --= finger me for PGP public key or visit http://michal.waw.pl/PGP =-- --==--==--==--==--==-- Vodka. Connecting people.--==--==--==--==--==-- A chodzenie po g�rach SSIE!!! ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Two, two, TWO treats in one. http://thinkgeek.com/sf _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek PC Mods, Computing goodies, cases & more http://thinkgeek.com/sf _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
