Hi All,
Can some one elaborate the following statement from Mark Cade case study, third paragraph page no. 170?
"Because the Shipping, Payment and Accounting systems have
Java technology APIs and the data is not persisted, you have direct access from the OrderProcessor as opposed to encapsulating the requests in a DAO."
I couldn't understand that statement completly. I am not sure what does he mean by "the data is not persisted". Does he mean that the data is not persisted in the system being developed?
In the following situations, when can I go for a DAO and when can I use a Processor to talk to the subsystem?
1) The subsystem has a Java technology APIs and the data is not persisted?(Cade says we should go for Processor)
2) The subsystem has a Java technology APIs and the data is persisted?
3) The subsystem does not have a Java technology APIs and the data is not persisted?
4) The subsystem does not have a Java technology APIs and the data is persisted?
Thanks in advance,
Srinivas.