aspose file tools*
The moose likes Java in General and the fly likes Jax-B Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Jax-B" Watch "Jax-B" New topic
Author

Jax-B

Deepika Joshi
Ranch Hand

Joined: Feb 24, 2009
Posts: 268
In case if I do not have XSD, and can not have objectFactoryPath; how can I create Java object from XML file using Jax-B?
or XSD/Object_Factory is must for using JAx-B?
Thanks.
Deepika Joshi
Ranch Hand

Joined: Feb 24, 2009
Posts: 268
Hi,

Any link for using JAX-B without knowing XSD (schema)?

Thanks.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Deepika Joshi wrote:In case if I do not have XSD, and can not have objectFactoryPath; how can I create Java object from XML file using Jax-B?
or XSD/Object_Factory is must for using JAx-B?
Thanks.


You can't. That's not how it works. But there are other technologies that can do this (see Digester for example).


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Deepika Joshi
Ranch Hand

Joined: Feb 24, 2009
Posts: 268
Thanks .
 
 
subject: Jax-B