W3C home > Mailing lists > Public > xmlschema-dev@w3.org > November 2007

FW: Java code generation from XSD and its use....

From: David Ezell <David_E3@VERIFONE.com>
Date: Thu, 15 Nov 2007 21:24:04 -0500
Message-ID: <2554CD143BF133449AB61786FA333CDE025317DE@TPANTMAIL.verifone.com>
To: <xmlschema-dev@w3.org>

Sorry, meant to send this to the list... 

> -----Original Message-----
> From: David Ezell 
> Sent: Thursday, November 15, 2007 9:23 PM
> To: 'dave'
> Subject: RE: Java code generation from XSD and its use....
> 
> 
> Thanks for bringing this feature of XMLSpy to my attention.  
> I had not seen it.
> 
> A quick look convinces me that these Java classes are 
> intended to be an alternative to JAXB.  In other words, you 
> can serialize and deserialize XML more or less directly to 
> and from Java objects, saving a lot of programming time for many uses.
> 
> If I'm correct, the big value add is flexibility across 
> frameworks and languages.
> The web site[1] advertises that you can use these objects 
> with Microsoft or Java (JSP) processing frameworks.  The 
> "glue" binding to these frameworks are likely the references 
> to the Altova package.
> 
> To reiterate, the above is a surmization on my part, and not 
> based on any deep knowledge of the system.
> 
> Hope this helps, or at least encourages someone clarify.
> 
> Best regards,
> David Ezell 
> 
> [1] http://www.altova.com/features_code.html
> 
> > -----Original Message-----
> > From: xmlschema-dev-request@w3.org
> > [mailto:xmlschema-dev-request@w3.org] On Behalf Of dave
> > Sent: Thursday, November 15, 2007 6:57 PM
> > To: xmlschema-dev@w3.org
> > Subject: RE: Java code generation from XSD and its use....
> > 
> > 
> > 
> > am trying to understand the typical use of these XML Spy owned Java 
> > packages.
> > 
> > --- Paul Kiel <paul@xmlhelpline.com> wrote:
> > 
> > > 
> > > I think what Dave is referring to is that the classes that
> > it creates
> > > based on an xsd contain classes with an Altova namespace.
> > > And I understand Dave's
> > > query to mean, "how can I get java classes from an xsd
> > without using
> > > the Altova namespaced classes"?
> > > The short answer is you can't from spy.  You need another
> > java binding
> > > tool to create what you want.
> > > 
> > > Paul
> > > 
> > > 
> > > 
> > > 
> > > -----Original Message-----
> > > From: xmlschema-dev-request@w3.org
> > > [mailto:xmlschema-dev-request@w3.org] On Behalf Of Swayam 
> Vemuri -X 
> > > (swvemuri - WIPRO at
> > > Cisco)
> > > Sent: Thursday, November 15, 2007 12:06 AM
> > > To: dave; xmlschema-dev@w3.org
> > > Subject: RE: Java code generation from XSD and its use....
> > > 
> > > 
> > > Once you generate your java classes you can copy them To your 
> > > project and compile them build them execute them.
> > > I think Altova has nothing to do with your java classes.
> > > The role of Altova ends once you are done with your XSD.
> > > 
> > > Just one more info, you can use tools like oAW to parse 
> your xsd And 
> > > generate java code.
> > > 
> > > HTH
> > > 
> > > Thanks
> > > Swayam
> > > 
> > > -----Original Message-----
> > > From: xmlschema-dev-request@w3.org
> > > [mailto:xmlschema-dev-request@w3.org]
> > > On Behalf Of dave
> > > Sent: Thursday, November 15, 2007 6:12 AM
> > > To: xmlschema-dev@w3.org
> > > Subject: Fwd: Java code generation from XSD and its use....
> > > 
> > > 
> > > When you create an XSD using XML spy, you can also generate Java 
> > > code from this XSD. How would one use these  generated 
> Java classes? 
> > > To use these classes, you would need to use Altova 
> packages as well 
> > > (which I don't want).
> > > 
> > > Just wanted to know the typical use of these generated 
> Java classes. 
> > > I already tried XMLSpy forum. No help.
> > > 
> > > Cheers!
> > > dave
> > 
> > 
> > 
> > 
> >       
> > ______________________________________________________________
> > ______________________
> > Never miss a thing.  Make Yahoo your home page. 
> > http://www.yahoo.com/r/hs
> > 
> > 
Received on Friday, 16 November 2007 02:29:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:15:01 GMT