Home > Articles > Programming

Accessing the Web Storage System Using ADO and ExOLEDB

  • PrintPrint
  • Share ThisShare This
  • DiscussDiscuss
Close WindowScott Jamison

Alex GomezScott JamisonGeorge Wesolowski 

Learn more…

Sorry, this author hasn't written any articles.

Sorry, this author doesn't have anything for sale.

Sorry, this author hasn't posted any blogs.

Microsoft's Universal Data Access (UDA) strategy is finally starting to come to fruition with the advent of the Exchange 2000 Web Storage System. A developer can use the familiar ADO object model to deal with Exchange data and even write SQL queries against it. In this selection we'll see exactly how this can be done and look at the underlying technologies that make this type of data access possible.

The ADO/OLE DB Conspiracy

By now, most programmers working with the Microsoft development tool set have heard of Microsoft's Universal Data Access (UDA) strategy. The basic tenet is that regardless of the type of repository that houses your data, you should be able to get to it using just one application programming interface (API)--namely, ActiveX Data Objects (ADO). Sure, some component is going to have to know the low-level details of where the data lives, but that component (known as an OLE DB provider) hides all of these details from the ADO programmer. He or she just uses the ADO object model to programmatically manipulate data from a disparate bunch of data stores. Microsoft Data Access Components (MDAC) ties it all together by packaging ADO with the necessary OLE DB providers.

Figure 7.1 shows the big picture that we have described here. Consider the real-world scenario in which your company has corporate data stored in several heterogeneous data sources. You need to write an application that has access to all of the data. The same application needs to be available from any Web browser. With ADO, your application can have one consistent programming interface to access all of the data. As long as the data store supplies an OLE DB provider that conforms to Microsoft's standard, a developer can use ADO to access the underlying data.

Figure 7.1
Universal Data Access

As the diagram in Figure 7.1 clearly suggests, you can bypass ADO and directly code against the interfaces provided natively by the OLE DB providers. Well, you could. However, the code is not trivial, and you are limited to C++ as a language choice.

  • Share ThisShare This
  • Your Account

Discussions

Make a New Comment

You must log in in order to post a comment.

Related Resources

Buck WoodyDealing with Data Defining the Components to Tune
By Buck Woody on 0:00 No Comments

I've been reading a fascinating article about the Large Hadron Collider, or LHC facility. It's a scientific research facility that houses a particle collider, which generates an incredible amount of data. Their original plan was to stream the data to tape, then sending the data to "islands" closer to the users, offloading the network as quickly as possible. But they found that the network could handle the streaming better than they thought - so they now stream the data directly to the users, saturating the network. It's a new way of thinking about moving the data around.

Buck WoodyWork Swarms
By Buck Woody on August 24, 2010 No Comments

I’ve been reading some excerpts from Gartner, Inc. and information from others on the changes they are seeing in the workplace. It’s holding true where I work and in the workplaces of the other data professionals I work with. One of those new trends is called “Swarming” – where informal teams get together to work on a particular project, and in some cases a single task, as a group. They then move on to another task, and so on, like a swarm of bees. These are less formal than the “Tiger Teams” I used to be part of that were also temporary, but had a more formal banding and dis-banding. The Gartner article states that this is more often the norm in companies than not.

Buck WoodyA combination of crowdsourcing, people helping people, and the best technical community there is
By Buck Woody on August 19, 2010 No Comments

I talk a lot about “giving back”. It’s a personal issue with me – I grew up quite poor, and from time to time someone would take notice that my mom and I didn’t have enough to eat, and they would help us out. I’ve never forgotten those folks.

See All Related Blogs

There are currently no related titles. Please check back later.

Informit Network