Guillaume Drouet wrote:1st question : I directly provide methods for booking and searching throw the DAO layer which consequently doesn't act as a Façade of the provided DB interface. Is it a good choice ?
Guillaume Drouet wrote:2nd question : Can i choose the DAO layer as the best candidate to be exposed throw RMI ?
Guillaume Drouet wrote:3rd question : Are the Factory, Strategy and Builder patterns correclty used here ?
Anayonkar Shivalkar wrote:
Welcome to CodeRanch!
Anayonkar Shivalkar wrote:DAO shouldn't care about where the request comes from. The flow from DAO onwards should be exactly same in both network and standalone mode.
Anayonkar Shivalka wrote:Better choice would be to introduce another layer - network layer
Anayonkar Shivalka wrote:I didn't use lot of design patterns. Just keep the application layered and provide a descent level of abstraction.
Anayonkar Shivalka wrote:I hope this helps.
Guillaume Drouet wrote:Do you think that I can do the same for the DAO layer ?