[jdom-interest] BEA's XMLBeans

Frank Cohen fcohen at pushtotest.com
Sat Mar 8 08:47:48 PST 2003


Thanks for the thoughtful remarks. BEA did not disclose the terms of  
the license agreement they were planning at the conference; However, a  
few of the BEA engineers I talked to expected it to be a liberal  
license leading to a JSR. That would be consistent with other moves  
they've made liked Java Web Services (JWS.)

I asked them about benchmarking the code too and they said to wait  
until the real release. So far their focus is on functionality.

As I understand XMLBeans it's kind of a schema compiler. XML schema  
goes in and Java class ready to handle the XML tree comes out. And you  
can compile at run-time or when you're building your code. That makes  
me think there is a lot they can do to optimize for good performance.

What did you have in mind to benchmark against? For example would you  
test JDOM over Xerces?

-Frank


On Friday, March 7, 2003, at 09:58 AM, Dennis Sosnoski wrote:

> XMLBeans is BEA's Grand Unified Model (aka GUM) for dealing with XML.  
> It's actually a data binding facade over an in-memory parse event  
> stream. This has some interesting features - you can access the  
> document using a data binding-like view through objects constructed  
> from a W3C XML Schema definition, and can also use XPath and XQuery  
> operations to access it as XML.
>
> The data binding view is likely to be very slow by comparison with  
> other approaches, though, since it has to retrieve data out of the  
> stream each time an object is (lazy) created, and has to store data  
> back into the underlying stream when you modify one of the bound  
> objects. If you're only working with a relatively small portion of the  
> document this is still fine, and it'll probably be mainly for that  
> type of application that XMLBeans is useful.
>
> BEA has declined permission for me to benchmark the code, on the basis  
> that it's beta. I think they realize they've got performance problems  
> and plan to eliminate these by tuning before the production release. I  
> think the problems are architectural.
>
> They've hinted in the past at open sourcing it in the longer term -  
> was there anything said at the developer conference about this?
>
>  - Dennis
>
> Frank Cohen wrote:
>
>> Has anyone had a chance to look at BEA's XMLBeans package? They  
>> announced XMLBeans at their developer conference this week. It seems  
>> to me that XMLBeans is another competitor to JDOM, or am I missing  
>> something?
>>
>> -Frank
>>
>> --  
>> Frank Cohen, Founder, PushToTest, http://www.PushToTest.com, phone:  
>> 408 374 7426
>> Come to PushToTest for free open-source test automation solutions  
>> that test and monitor
>> Web-enabled applications, especially Web Services for scalability and  
>> reliability.
>>
>> _______________________________________________
>> To control your jdom-interest membership:
>> http://lists.denveronline.net/mailman/options/jdom-interest/ 
>> youraddr at yourhost.com
>>
>
>
--
Frank Cohen, Founder, PushToTest, http://www.PushToTest.com, phone: 408  
374 7426
Come to PushToTest for free open-source test automation solutions that  
test and monitor
Web-enabled applications, especially Web Services for scalability and  
reliability.





More information about the jdom-interest mailing list