Dennis, yes, the database we're using at this point Rainingdata's TigerLogic, does provide an InputStreamReader interface to the resultset.  My initial design will abstract it so that the interfaces that don't provide such an interface, will just read it into the String and/or DOM, etc...  Should be transparent enough for now, as most DB vendors have different interfaces at this point, though in a way, most follow the JDBC type interface.  Can't wait for XQJ final draft and implementations, we'll then be able to standardize on that.  It'll be abstracted enough, that the eventual switch will be easy enough.  I'm finalizing the specifications as we speak and should have it ready sometime this week.  I will share with you once it's done to get any feedback.

Thanks and I look forward to speaking with you more on this.

Ilya Sterin

On 7/5/06, Dennis Sosnoski < [EMAIL PROTECTED]> wrote:
Hi Ilya,

This sounds very interesting, and I'll certainly give you what support I
can in getting this going. One issue is going to be how the XML database
supplies the XML on retrieval. If it's only in the form of a DOM or
such, you'll be losing most of the performance benefits of JiBX. The
best option would be if the database supplies a StAX-compliant
XMLStreamReader for retrieved data, and allows you to supply data by
writing to an XMLStreamWriter. I haven't followed the XML database field
enough to know if any do this.

Please keep us posted on what you find out,

  - Dennis

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



Ilya Sterin wrote:
> Hello, all.  I sent the below email to Dennis directly, but I'm sure
> he's pretty busy, so I thought I'd get your thoughts on this as well.
>
> I'm currently working on a next generation of our product which will
> utilize a native XML database.  We chose that in favor of a RDBMS for
> various reasons, but mostly due to the fact that our schema is dynamic
> and best supported by storing it that way.
>
> One of the challenges of course is a persistence framework.  There are
> so many in the relational world, but lacking in XML world, IMO.  There
> are great frameworks, like yours, that handle the mappings, but we're
> still missing the pieces that actually make it a true persistence
> framework ( i.e. integration with XQuery, Native XML Storage systems,
> XQJ, etc...).  So I set up to create such a framework.  I'm in the
> progress of completing the specifications, though I already started a
> bit of coding, mostly interfaces and some diagramming.  As of right
> now, although I'm making it as loosely coupled as possible, it's being
> developed and tested using RainingData's TigerLogic db.  They are one
> of the leaders in the XML Native database worlds and have a pretty
> nice implementations of XQuery engine, XUpdate, and a preliminary XQJ
> implementation, which right now has some proprietary features, since
> XQJ is still in the early draft review phase.
>
> I believe that such an abstraction layer on top of a great mapping
> system like JibX, would create a great persistence framework for the
> native XML persistence world.
>
>
> Ilya Sterin
>
>
> ------------------------------------------------------------------------
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> jibx-devs mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jibx-devs
>

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to