Hi guys,

JiBX *does* support working with XMLStreamReader/Writer. It looks like
the online documentation is still back at version 1.0 so I can't link
directly (I'll fix that for the upcoming release), but if you look in
the distribution docs you'll see org.jibx.runtime.impl.StAXReaderFactory
and StAXReaderWrapper used for unmarshalling, and StAXWriter used for
marshalling. These are implementations of the common IXMLReader/Writer
interface used by JiBX.

There are also
org.jibx.extras.DomElementMapper/DomFragmentMapper/DomListMapper classes
in the extras section. These are used for converting portions of a
document to and from DOM, but could be the basis for doing
IXMLReader/Writer implementations if you preferred to go the DOM route.

Thanks for the pointer to the comparison article. I've got my own
performance comparison coming out within the next month, but hadn't seen
that one.

Cheers,

  - Dennis

Dennis M. Sosnoski
SOA and Web Services in Java
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117



Raymond Feng wrote:
> It will be nice to have JiBX databinding in Tuscany. I took a quick
> look on JiBX and it should be fairly simple to support JiBX.
>
> On the surface, it seems that JiBX marshaling/unmarshaling only
> exposes InputStream/OutputStream/Reader/Writer. From the data
> transformation perspective, we would prefer to see the support to
> marshal/unmarshal JiBX object to/from intermediate formats such as
> XMLStreamReader or DOM Node. This way, we could convert an AXIOM into
> JiBX object following the path: OMElement --> XMLStreamReader --> JiBX
> without using the heavy IO stream.
>
> I will be glad to help from Tuscany side. You can find more
> information about Tuscany databinding at
> http://cwiki.apache.org/TUSCANY/tuscany-databinding-guide.html.
>
> Thanks,
> Raymond
>
> ----- Original Message ----- From: "ant elder" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Tuesday, October 16, 2007 6:45 AM
> Subject: Re: Neat Article on Comparison of Web Service Stacks....
>
>
>> Which reminds me, I've always thought we should make a JiBX
>> databinding for
>> Tuscany. It might not be so hard to take one of the existing
>> databindings to
>> use as a base for a new JiBX one. Maybe Dennis would even help if we
>> show
>> some interest...
>>
>>   ...ant
>>
>> On 10/16/07, Mike Edwards <[EMAIL PROTECTED]> wrote:
>>>
>>> Folks,
>>>
>>> Worth checking this out:
>>>
>>> http://opensource.sys-con.com/read/439687.htm
>>>
>>> ...discusses Axis2 and XFire and their relative performance...
>>>
>>>
>>> Yours,  Mike.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to