Alek, Am quite certain that XMLBeans will get into incubator soon. WS-Commons is not yet ready. We should definitely work with them directly to get them to implement the features that we need. They did ping me before they got the ball rolling in the various general@ mailing lists.
Thanks, dims --- Aleksander Slominski <[EMAIL PROTECTED]> wrote: > Sanjiva Weerawarana wrote: > > >I like the idea, but my main concern is that this seems to overlap > >with StAX etc. quite a bit. Since you're one of the main drivers > >of it, can you expand a bit on how you think it fits with StAX, > >SAX, DOM etc.? > > > > > > > hi Sanjiva, > > XMLBeans have very good support for XSD types and XML schemas (they did > very good job testing it) and they have built it on top of lightweight > XML infoset. > > However the really important thing is that XMLBeans allows to take *any* > XML infoset (perfect for doc/lit) and then map only parts of it to XML > schema types and even then keeps underlying Infoset so changes to > infoset affects Java classes representing XSD type. > > I think that there are several advantages shorter and longer term: > * they have *very* complete support for XML schema types and those Java > classes could be made ore independent and useful right now for AXIS and > other WS projects (and they seems to be easy to use!) > * they implemented I*almost* complete set XSD constructs > * they have already import/export to DOM and SAX working and it should > be possible to get XMLBeans to work with Infoset described in DOM (and > maybe SAX) so it could be used as lightweight databinding. this is also > potentially very useful functionality for AXIS doc/literal support > * StAX or in general XML pull parsing approach (they use actually XPP3 > in xbean.jar I believe) is already used in XMLBeans and is encapsulated > in XmlCursor interface and they are willing to look on StAX - > nonetheless it would be good if implementation could be made more > streaming (caveat: this is based on my cursory understanding of > XMLBeans) so XML stream can be directly bound to Java XSD classes that > would be really powerful and high performance : you could decide for > what parts of XML stream you want to preserve Infoset to have XPath and > XQuery working (and still be able to bind it to Java objects) and other > parts could be directly translated to Java XSD Objects if those parts of > Infoset are just for databindings > > Here are disadvantages: > * even though they talk how lightweight and high performance it is still > it is really another DOM-like implementation so there is price to pay > especially in memory footprint > (http://workshop.bea.com/xmlbeans/schemaandperf.jsp) > * XMLCursor and similar APIs are new and as such were not tested for > usability (but if it is open source it should be easy to keep improving > it) also as they ar enew not enough developers may be interested to play > with it to gain critical mass > * it is one of competing frameworks JaxMe2, JAXB, Castor and i think > that both JAXB-RI and Castor can be higher performance as they bind > directly XML stream in Java objects > > so in my opinion XMLBean has pretty powerful set of features and I think > it is at least worth trying to get this more used. > > thanks, > > alek > > >----- Original Message ----- > >From: "Aleksander Slominski" <[EMAIL PROTECTED]> > >To: <[EMAIL PROTECTED]> > >Sent: Sunday, July 06, 2003 8:56 PM > >Subject: [Fwd: Vote for XMLBeans proposal] > > > > > > > > > >>hi, > >> > >>maybe in case that there was not enough momentum for XMLBeans to get > >>into Incubator and in XML maybe we could look on having it part of > >>WS-Commons (if it is now working). I am a bit afraid that it will not be > >>picked by XML folks as they not that interested in having data binding > >>and direct access to XML but this is pretty important for any Web > >>Service project. > >> > >>comments? > >> > >>thanks, > >> > >>alek > >> > >>-------- Original Message -------- > >>Subject: Vote for XMLBeans proposal > >>Date: Sun, 06 Jul 2003 17:40:07 +1000 > >>From: Berin Lautenbach <[EMAIL PROTECTED]> > >>Reply-To: [EMAIL PROTECTED] > >>To: [EMAIL PROTECTED] > >>CC: [EMAIL PROTECTED], [EMAIL PROTECTED], > >>[EMAIL PROTECTED] > >>References: <[EMAIL PROTECTED]> > >><[EMAIL PROTECTED]> <[EMAIL PROTECTED]> > >><[EMAIL PROTECTED]> <[EMAIL PROTECTED]> > >> > >> > >> > >>Ted Leung wrote: > >> > >> > >>>Nicola Ken Barozzi wrote: > >>> > >>> > >>> > >>>>If XML.Apache is willing, as it seems, to cater for this project, I'll > >>>>wait for a vote from them, an ACK from the Bea guys, and start > >>>>preparing the hatcher :-) > >>>> > >>>> > >>>> > >>>I'm happy to invest some time in helping XMLBean get throught the > >>>incubator -- speaking with my XML PMC and ASF member hat on. > >>> > >>> > >>The idea of moving XMLBeans to incubation under the XML project and with > >>the assistance of Ted gets a +1 from me with some caveats : > >> > >>1. Current XMLBeans committers need to be comfortable with this resting > >>with the XML project in the first instance. Note that I would hope that > >>the umbrella project could be changed prior to exit from incubation if > >>the feeling from the committers was that it should be. > >> > >>If the initial preference is Jakarta then please indicate! I'm > >>definitely not trying to push a line here, and it's easy to switch the > >>vote over to the Jakarta PMC :>. > >> > >>2. Committer issues that have previously been discussed will need to be > >>worked through during incubation (although that's really what incubation > >>is about :>). > >> > >>+/- from other XML PMC members welcome. > >> > >>Further discussion also welcome! > >> > >>Cheers, > >>Berin > >> > >> > >> > >> > >>--------------------------------------------------------------------- > >>In case of troubles, e-mail: [EMAIL PROTECTED] > >>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > >> > >>-- > >>If everything seems under control, you're just not going fast > >> > >> > >enough. —Mario Andretti > > > > > > > > > > > > > -- > If everything seems under control, you're just not going fast enough. —Mario Andretti > > ===== Davanum Srinivas - http://webservices.apache.org/~dims/ __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com