Hi all,
I am very much still a novice at this stuff but I am learning more and more each day. I now understand (I think!) how a DAL works as far as Sql goes but I am now in the realm of xml. I can understand it if there is a static xml file but my problem is this.
My controller receives an xml document
Parse that document into domain object
Add domain object to db
I have the writing stuff done through DAOFactories and whatnut and understand how to do it because there is a datastore variable I get within the DAOSql file's but this xml thing has me upside down. There is no where to go get the xml from within the DAOXml file unless maybe I write it to disk but that seems silly. I have it in memory and don't need it written at all. It is streamed into me from the highest level. I am sure this is something simple I am just missing but never the less I am missing it. Could someone shed some light on how they would do this?
Brian
Spend like you don't need the money,
love like you've never been hurt and dance like nobody's watching!
I am very much still a novice at this stuff but I am learning more and more each day. I now understand (I think!) how a DAL works as far as Sql goes but I am now in the realm of xml. I can understand it if there is a static xml file but my problem is this.
My controller receives an xml document
Parse that document into domain object
Add domain object to db
I have the writing stuff done through DAOFactories and whatnut and understand how to do it because there is a datastore variable I get within the DAOSql file's but this xml thing has me upside down. There is no where to go get the xml from within the DAOXml file unless maybe I write it to disk but that seems silly. I have it in memory and don't need it written at all. It is streamed into me from the highest level. I am sure this is something simple I am just missing but never the less I am missing it. Could someone shed some light on how they would do this?
Brian
Spend like you don't need the money,
love like you've never been hurt and dance like nobody's watching!