Luciano Resende wrote:
Hey Douglas
Thanks for volunteering, maybe you could start by prototyping the
JDBC version of implementation-data that would return a
XMLStreamReader. Once we flush out the design details, then we could
think about the other CUD operations.
Sebastien, and others... Thoughts ?
It might be even better to start from a sample, without even using
implementation-data at the beginning.
I'd suggest the Online Store sample under samples/store, try to change
CatalogImpl.java component to get the Catalog from a database using JDBC
(instead of a hardcoded table in memory), and return either an
XMLStreamReader or the current Item objects.
Then try the same thing with the ShoppingCartImpl component, this will
help us understand what to do for updates, deletes etc.
Then once we've been through that sample we'll probably have a clearer
idea of what implementation-data needs to do... basically automate what
we wrote by hand in the sample.
--
Jean-Sebastien
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]