2020ok  Directory of FREE Online Books and FREE eBooks

Free eBooks > Computers & Internet > Programming > Introductory & Beginning > General > Professional MTS and MSMQ Programming with VB and ASP

Professional MTS and MSMQ Programming with VB and ASP

by Alex Homer

Download Book
(Respecting the intellectual property of others is utmost important to us, we make every effort to make sure we only link to legitimate sites, such as those sites owned by authors and publishers. If you have any questions about these links, please contact us.)

link 1

About Book

If you're thinking of powering your next Web site with the latest in Microsoft Internet technologies, and you program in Visual Basic (VB), then Professional MTS and MSMQ with VB and ASP is for you. This fast-paced tutorial gives you a crash course in using Microsoft Transaction Server (MTS) and the new Microsoft Message Queue (MSMQ) Server, along with other Microsoft tools, for creating dynamic, commerce-enabled Web sites and Web-based applications. The authors provide a step-by-step guide to configuring and designing with VBScript, active server pages (ASPs) using transactions, and the new capabilities of message queuing (which permits systems to be designed with fault tolerance in mind.) Readable and to the point, this guide will likely be all you need for getting the basics of the best in designing Web sites using Microsoft's latest Web tools.

Dr. Dobb's Journal
The Microsoft Transaction Server (MTS), Microsoft Message Queue (MSMQ), and specification for the Universal Data Access (UDA) are Microsoft's proposals for defining a distributed, Internet-based framework known as the "Distributed Internet Architecture" (DNA). Professional MTS and MSMQ with VB and ASP, by Alex Homer and David Sussman, presents a reasonable explanation of how you can leverage DNA to build the Internet applications of the near future.

What I liked about Professional MTS and MSMQ is the authors' ability to smooth all the difficulty of the subject. Reading the book makes using MTS and MSMQ seem simple. Granted, MTS/MSMQ is not that difficult, but the authors still do a good job presenting the topics incrementally, making each the natural follow-up of the previous one... Read more from this review. --Dino Esposito, Dr. Dobb's Journal

Book Description
Microsoft are promoting their Distributed interNet Architecture (DNA) as a platform for developing fully distributed applications, but it has taken a while to get the DNA message across. The difficulty was in trying to push DNA as a solution in itself, rather that pushing the ideas that make it good, i.e.:n-tier client/server applications~Client transparency~Distributed applications~Fully transactional~Fault tolerant~The core of DNA is the use of business objects in a middle tier of the application, and this is supported by two new technologies: Microsoft Transaction Server (MTS), which is a component manager offering full transaction support; and Microsoft Message Queue Server (MSMQ), which provides the fault-tolerance required in distributed application. Together, these make it simple to build into the DNA dream.

Book Info
Designed for developers who are now building, or just starting to build high performance and reliable web-based applications for a whole range of uses.

From the Publisher
This book gets straight down to basics, introducing the concept of DNA and showing it in action. It allows developers to grasp the whole structure of distributed and web-based applications, and then see how the various parts and built and how they interact. There will be a case study around which the book is organized, giving a logical progression through the principles and implementation of the design, development, and final result. This case study is a car retail showroom, where the availablability of cars can be checked, and order placed with the manufacturer

About the Author
Dave Sussman is a freelance developer and trainer in London. He has been using Access since its first release, and now specialises in training and developing client/server solutions around Access, Visual Basic and SQL Server.

Excerpted from Professional MTS and MSMQ Programming with VB and ASP by Alex Homer and Dave Sussman. Copyright © 1998. Reprinted by permission. All rights reserved
Chapter 3 Introducing Transaction Server

Now that we've examined the core concepts of DNA and seen the kinds of components that we can use within its architecture, we can move on to look at where Microsoft Transaction Server (MTS) comes into the picture. Unfortunately, Microsoft momentarily lost their legendary knack of giving their products really useful and meaningful names when they christened this little baby. Yes, MTS does have something to do with 'transactions', but in fact it does a lot more useful things as well.

In this chapter we'll start off by looking at what MTS is, and why it's suddenly become one of the hottest new technologies around at the moment. We'll also discuss what transactions are, and you'll see why the name Transaction Server is a misnomer for this exciting new technology.

Then, once we've got to grips with the theory of MTS, we'll move on to look at how we use it in our applications. We'll show you just how easy it is to take advantage of its services with existing components, and we'll also be adding MTS integration to the simple WCCFinance component we developed in the previous chapter.

So, in this chapter, you'll see:

What Microsoft Transaction Server is, and what it can do.

What transactions are, and how MTS makes them more powerful and easier to use.

What levels of transaction support are available now, and will be in the future.

How we build new components and adapt existing ones for use with MTS. How we install components into MTS, and use them in applications.

To start with, let's look at the background and basic principles of MTS.

What is Transaction Server?

MTS is an integral part of Windows NT, and is installed by default as part of the operating system in NT5. It is a service in much the same way as Internet Information Server or the File and Print services that we now take for granted. In other words, it is part of the system that is available in the background whenever one of our applications requires it.

Control and configuration of MTS is via either a snap-in to the Microsoft Management Console, or through the HTML administration pages that are included with MTS. This is very similar to the interface provided for Internet Information Server 4, and gives an integrated management function that is useful when building and setting up distributed applications.

At the time of writing, MTS was available as an add-on to Windows NT4 in the form of the NT4 Option Pack, or as part of the Windows NT4 Enterprise Edition. The Option Pack can be installed over the top of Windows NT4, requiring Service Pack 3 and Internet Explorer 4.01. Both are included in the Option Pack and are installed automatically.

What Does Transaction Server Do?

To understand what MTS is and what it does, we need to first make one very important point clear. This software should really have been named Microsoft Component Server, not Microsoft Transaction Server. MTS is all about managing the way applications use components, and not just about managing transactions. Yes, transactions are a big part of many applications we write and MTS can help to manage these-but MTS also provides a very useful service for applications that don't use transactions at all.

We're already tossing about words like 'transactions'-which are short on real meaning at the moment. To be able to define MTS accurately, we first need to understand what goes on inside it in the most basic way. That's what we'll do in this section, and you won't see anything more about transactions until later in the chapter.

We'll start by looking at the way we traditionally use components within our applications. This will help you to understand how and why MTS can make the whole process more efficient.



PLEASE READ: All comments must be approved before appearing in the thread; time and space constraints prevent all comments from appearing. We will only approve comments that are directly related to the article, use appropriate language and are not attacking the comments of others.

Message (please, no HTML tags. Web addresses will be hyperlinked):

Related Free eBooks

Related Tags

DIGG This story   Save To Google   Save To Windows Live   Save To Del.icio.us   diigo it   Save To blinklist
Save To Furl   Save To Yahoo! My Web 2.0   Save To Blogmarks   Save To Shadows   Save To stumbleupon   Save To Reddit