On Fri, Mar 5, 2010 at 10:30 AM, ext2 <[email protected]> wrote:
> Hi:
>
> I am using TuscanySDO in my application. But it gives bad performance , when
> I using sdo with other xml techinal (etc xpath , or xslt).
>
>
>
> Because when I using xpath , I must save the SDO as a XML again, and also
> the transform result xml will be convert to SDO. They waste too much
> performance.
>
>
>
> So I am wondering does the Tuscany SDO support a more efficient way ?
>
>
>
> It may be looks like as following:
>
> Support a org.xml.sax. XMLReader interface to enumerate the xml
> directly from the SDO Object;
>
> Support a org.xml.sax.ContentHandler interface to write fields to SDO
> Object;
>
>
>
> Or like the JAXB techinal:
>
> Support some SAXSource interface for SDO
>
> Support some SAXResource interface for SDO.
>
>
>
> So the conversion between SDO and XML doesn’t need, and a more performance
> is gained.
>
>
>
> Thanks a lot;
>
>
>
>
Unfortunately not. The Tuscany implementations of the SDO xpath like
syntax on the official APIs are efficient, but if they are not
sufficient for your purposes, we don't have such extensions in the
Tuscany SDO implementation.