JAXB at the moment only supports DTD's, nog W3C XML Schema.  So for some, this is a limitation.  Castor also does provides JDBC marshalling.
-----Original Message-----
From: Mohamed Zafer [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 15, 2002 7:32 AM
To: [EMAIL PROTECTED]
Subject: [castor-dev] How good is it

Hai There...

I am developing an java application using swing. The UI of the
application is decided at runtime( e.g., registration form etc..) Now I
have to set the constraints/validations to the text components (e.g.,
only numerals accepted for age , etc..)in the UI. Some business logic
specific details are also to be added.

I am planning to use xml for this, so that as the UI is generated, the
constraints and validations from the xml file are set to the fields(or
components). and also the business logic is added to their listeners..

Can JAXB be choice for this.. If then how good is castor than sun's own
jaxb implementation...

From what I have read, JAXB is used to represent objects.. but in my
case it should represent the behaviour of the objects( e.g., how should
a text field behave for a particular event etc,,)...

Can any one shed light on this...


Regards,
Mohamed Zafer

Reply via email to