Re: [castor-dev] Castor XML with EJB and references

2002-01-11 Thread Rickard
Keith Chew SL wrote: > Hi Rikard > > Are you using Castor XML directly on the EJB or on the ValueObject/View that > the EJB generates? I'm not using ValueObjects at all (have a much more interesting approach to that problem), but am instead using direct refs. The problem is mainly how to res

Re: [castor-dev] Castor XML with EJB and references

2002-01-11 Thread Keith Chew SL
ard [mailto:[EMAIL PROTECTED]] > Sent: Saturday, 12 January 2002 4:00 a.m. > To: [EMAIL PROTECTED] > Subject: [castor-dev] Castor XML with EJB and references > > > Hi! > > I'm using Castor XML with EJB's. My EJB's reference other EJB's, both as >

Re: [castor-dev] Castor XML with EJB and references

2002-01-11 Thread Keith Visco
Hi Rickard, When using IDResolver you need to have a mapping as such: That should do the trick... I don't think CDR (ClassDescriptorResolver) will help you at all, it's used for loading ClassDescriptors, not for resolving references to exising classes. --Keith Rick

[castor-dev] Castor XML with EJB and references

2002-01-11 Thread Rickard
Hi! I'm using Castor XML with EJB's. My EJB's reference other EJB's, both as direct references and as collections. I would prefer if these references and collections were handled by allowing me to dereference them using custom code. E.g. use IDREF's which would allow me to look up the EJB's w