Scott,

Scott Purcell wrote:
> Sure, 
> The architect on the project feels that the Castor project has more to 
> offer in terms of robustness and also development efforts over JAXB.
:_).

> I 
> believe he is going to use some of the persistance capabilities on this 
> project down the line, so this gets things moving in the right direction.
Any idea how much time there is between now and 'down the line' ? As a
matter of fact, you will be able to use Castor for both XML data binding
and persistence straight out of the box, but we (and group of students
under my supervision and myself) are currently adding a new feature to
Castor that - given that you have your XML schemas annotated with
JDO-specific information - will allow you to generate descriptor (the
glue code to facilitate binding between Java and XML/persistence)
classes for both XML and JDO side of things. Currently, only XML is
supported.

Regards
Werner
> 
> Hope that makes sense.
> Scott
> 
> 
> 
> 
> 
> 
> Werner Guttmann <[EMAIL PROTECTED]> 
> 07/01/2008 03:45 PM
> Please respond to
> [email protected]
> 
> 
> To
> [email protected]
> cc
> 
> Subject
> Re: [castor-user] Castor To Create Java Files From XML/XSD
> 
> 
> 
> 
> 
> 
> Scott,
> 
> one more question ....
> 
> Werner
> 
> Scott Purcell wrote:
>> Hello,
>>
>> Kind of new with this, so here goes. I have a project that is currently 
>> using JAXB and our team would like to switch to Castor. The way this 
> works 
>> is we have a XML document with some XML Schema tags in it that we used 
>> with JAXB.
> Actually, would you be willing to share with is why you are switching
> away from JAXB ?
> 
>> I would like to be able to generate the java files for this using Castor 
> 
>> and then of course have castor unmarshall the forms at a later time.
> That's an out-of-the box feature of Castor in that you will be able to
> use the generated Java classes (mainly two Java classes per global XML
> schema artefact) to unmarshal from and marshal to your XML document
> instances (incl. object-level validation, etc.).
>> I have searched the docs, and do not see how this is accomplished. I 
>> worked through the tutorial, and all I see is how to make the XSD while 
>> marshalling the data, but the team wants to create their own XML and 
> have 
>> castor create the java from it.
>>
>> Thanks,
>> Scott
>>
>>
>>
>> CONFIDENTIALITY NOTICE
>> This e-mail message and any attachments are only for the use of the 
> intended recipient and may contain information that is privileged, 
> confidential or exempt from disclosure under applicable law. If you are 
> not the intended recipient, any disclosure, distribution or other use of 
> this e-mail message or attachments is prohibited. If you have received 
> this e-mail message in error, please delete and notify the sender 
> immediately. Thank you.
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 
> 
> 
> 
> 
> 
> CONFIDENTIALITY NOTICE
> This e-mail message and any attachments are only for the use of the intended 
> recipient and may contain information that is privileged, confidential or 
> exempt from disclosure under applicable law. If you are not the intended 
> recipient, any disclosure, distribution or other use of this e-mail message 
> or attachments is prohibited. If you have received this e-mail message in 
> error, please delete and notify the sender immediately. Thank you.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to