Bruce Snyder wrote:

> I've read each of your messages, but I'm not versed in CastorXML,
> CastorJDO is where my knowledge lies. I was hoping that Keith and/or
> Arnaud would see your messages and respond, seeing as how they're
> the CastorXML guys. 


Alright, I'll hang in there :-)

> The reason I say this is because I've not
> seen anyone on the list present this type of issue previously.


Which seems strange. This seems like such an obvious use of CastorXML 
with EJB's.


> I'm not even sure I fully understand what you're doing. You want
> Castor to pick up your custom XML file and marshall objects based
> on the id references? Maybe it's the id reference that confused me
> (urn:forum:test).

I have a BMP EntityBean, which has fields that are references to other 
BMP EntityBeans, i.e. their interfaces are the type of the fields (not 
the implementation classes, which seems to be how Castor is mostly 
used). Since these references cannot be resolved by simply instantiating 
those interfaces (ya can't instantiate interfaces) I need Castor to 
delegate to my own code which knows how to transform the stringified 
references into real objects. This goes both for 1-1 and 1-many 
mappings. If I got that it would be really awesome.

Another thing I'd like is to be able to give Castor the object to be 
filled with values. Currently it instantiates a new BMP instance and 
filles that with data, which I then must copy into the real instance.

/Rickard

-- 
Rickard �berg
Author of "Mastering RMI"
Chief Architect, TheServerSide.com
   The Middleware Company - We Build Experts!

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to