Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JAXB vs. Castor or Zeus

843834Feb 12 2002 — edited Oct 24 2002
Hi,

How does JAXB compare to things like Castor or Zeus?

Specifically, does Castor/Zeus support DTD's or do they only work with XML schemas.

Also, do Casor/Zeus support all the features JAXB supports (or is supposed to support)?

I read through a little tutorial about using Castor and it seemed to be a little more complex than JAXB. Is this true? With JAXB, all you have to write is your DTD and binding schema, run it through the xjc compiler and you have your XML classes. Castor seemed to require more more steps to get the XML java classes. Unless I just misread the Castor stuff.

Any info would be very appreciated.

Thanks,

Nate

Comments

The namespace for an OPA Assess operation has specific meaning. There isn't an easy way to change it and you probably shouldn't.

Why do you need to override the namespace of the assess request and response?
smuralee

In order to have all the modules in the build to have the same namespace and as part of a convention, this requirement was provided.

Frank.Hampshire-Oracle

Suraj,

You could try changing the namespace in the OnReturnResultEventHandler but I would not recommend changing the namespace at all. As mentioned previously namespaces have very specific meanings and you probably should not do it.

You could also just change the assess velocity template and replace ${service.getTargetNamespace()} with your specific namespace. Same warnings as above.


Cheers

Frank

1 - 3
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 21 2002
Added on Feb 12 2002
2 comments
251 views