xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arkin <ar...@exoffice.com>
Subject Re: DTD -> Business Objects and XML data -> instance variables / fields
Date Thu, 16 Mar 2000 21:55:12 GMT
Mike Pogue wrote:
> 
> Sun will be standardizing how this works in the future, see JSR 031.
> I believe Castor implements the draft JSR031 spec (right?).

Right.

Since the spec is not out yet, I can't tell how well it deals with
Business Object. The proposal is good for mapping simple Java objects to
XML, but complex Java Business Object pose some requirements I'm not
sure the spec will address.

arkin


> 
> Mike
> 
> Arkin wrote:
> >
> > http://castor.exolab.org
> >
> > It can produce your Java business objects from an XML schema (including
> > enumeration, validation, etc), instantiate them from an XML document,
> > and of course turn your objects back into documents.
> >
> > arkin
> >
> > "HERRICK, CHUCK (SBCSI)" wrote:
> > >
> > > Is there a sense of "best practices" out there in processing / parsing
> > > a DTD (Schema) to automatically create Java "Business Objects" which
> > > model the XML document "rules?"
> > >
> > > How about for taking an XML document, given the above, instantiating
> > > those same "Business Objects," and putting the data from an
> > > XML document which obeys the DTD into the instance variables (fields)
> > > of those Java Business Objects?
> > >
> > > Is everyone hand-rolling their own here, or are there outfits out there that
> > > have
> > > written commercial products to do the same?
> > >
> >
> > --
> > ----------------------------------------------------------------------
> > Assaf Arkin                                           www.exoffice.com
> > CTO, Exoffice Technologies, Inc.                        www.exolab.org

-- 
----------------------------------------------------------------------
Assaf Arkin                                           www.exoffice.com
CTO, Exoffice Technologies, Inc.                        www.exolab.org

Mime
View raw message