mercredi 10 juin 2015

Is having 3 layers Controller, BO and DAO a standard way? why not just Controller and DAO?

In REST Web Service, is having 3 layers - Controller, BO (Service) and DAO a standard way? Why do we need a separate BO layer. Why not to write our logic in Controller class which, calls different DAO classes ???

Aucun commentaire:

Enregistrer un commentaire