The Mere Mortals Framework
 

 

MM .NET's family of Web Service Data Access classes allow you to access data remotely by means of web services. Our flexible architecture allows you to access data locally (for example, on a LAN) and then switch dynamically at run time to accessing data remotely via web services! For example, when a sales rep is in the home office, he can attach directly to the company's LAN and access data locally:

When the sales rep is at a customer's site, he can attach to his home company's data (normally by selecting an option when logging in) by means of web services:

Here's the good news--based on MM .NET's practice of programming to an interface rather than an implementation, you don't have to change anything about your existing application to access data both locally and remotely! Here's why...

Normally, an MM .NET business object uses a data access class which creates a connection to the back end database for retrieving and updating data:

When using a Web Service data access class, as shown in this diagram the business object instantiates the Web Service Data access class which looks just like a regular MM .NET data access class:

Here's how messages flow:
  1. The business object makes a call to the Web Service data access class
     
  2. The Web Service data access class translates the command into XML that is transmitted across the web to the Data Web Service.
     
  3. The Data Web Service converts the XML command into a standard ADO.NET command
     
  4. The Data Web Service passes the call to the real data access class.
     
  5. The real data access class passes the result back to the Data Web Service
     
  6. The Data Web Service serializes the result and passes it back to the Web Service data access class across the web
     
  7. The Web Service data access class deserializes the result and passes it back to the business object.

Back to Feature List

  Last Updated:  December 03, 2007