for web based business application, is it good to develop business layer, data access layer using web service? what are the disadvantages?
UI Layer (ASp.Net) --> Business Layer (WCF Web service) --> DataAccess Layer(WCF Web Service)
everything will be hosted in single server. is it the best practice to go for web services for business, data access layers?
regards, Anand
It highly depends on your non-functional requirements and change cases you might already be aware of. Separating all your layers by using some kind of Web Services (SOAP/REST) this way will introduce:
I'd rather start simple and clearly separate the different layers from an architectural point of view only. Establish well-defined (.NET only) interfaces between UI, Business, and DataAccess layers. If you later come to the conclusion that you have to separate the layers on to different nodes, you can 'easily' generate the corresponding Web Services proxies and modify your components at only a few places.