wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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 .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jax-B
 
Similar Threads
Convert XSD to XML
xml and JaxB without xsd
Any Java API similar to DataSet in ADO.NET
Facade design pattern in web services
XSD to Table Structure(Dojo Grid)