About Apex InfoTech Information Services Products Consulting Online Courses Certifications Course Schedule Reserve your seat Search Apex InfoTech Home Page
Course ScheduleSearch by Course NumberPrint this documentEmail this documentRegister for this course

Building MSMQ Applications with Microsoft Visual C++ 6

Course 1901: Five days; Instructor-led

Introduction

This course will teach Microsoft® Visual C++® programmers to build and deploy business components that use the Microsoft Message Queuing Services (MSMQ) as part of a Microsoft Windows® DNA solution.


At Course Completion

At the end of the course, students will be able to:

  • Identify the key tools and technologies in Microsoft's enterprise strategy.
  • Identify the elements of an MSMQ network in the context of Microsoft's enterprise architecture.
  • Describe the architecture of an enterprise solution built on the Windows DNA platform.
  • Describe the role of message queuing as a technique for communication between distributed applications.
  • Create distributed applications that create and delete MSMQ queues.
  • Use MSMQ Explorer to administer, manage, and monitor MSMQ queues.
  • Use message, queue, and machine properties in a distributed MSMQ application.
  • Create C API programs and ATL components that use MSMQ objects to send and receive non-transactional messages to and from a queue.
  • Create ATL Components that use MSMQ objects to send and receive transactional messages to and from a queue.
  • Debug MSMQ object errors.
  • Implement error handling in MSMQ objects.
  • Use MSMQ programming techniques to locate a particular queue, or group of queues, based on queue properties.
  • Apply security techniques such as MSMQ queue security and Microsoft Windows NT® security to three-tier applications.


Microsoft Certified Professional Exams

This course will help the student prepare for the following Microsoft Certified Professional exam:

  • To be determined


Return to top

 

Prerequisites

This course assumes that the student has programming competency with the C++ language, experience using the Microsoft Visual C++ development system, and experience building Component Object Model (COM) components. Before attending this course, students must have completed the following:

  • Build and debug COM components that implement dispinterfaces and dual and custom interfaces using Microsoft Visual C++ and the Active Template Library (ATL)
  • Course 1304, Component Development Using the Active Template Library 3.0, which can help the student to satisfy some of the above prerequisite skills

Related Courses:

Course Outline

Day 1

Module 1: Microsoft's Enterprise Development Strategy

Topics

Evolution of Client/Server Architecture
Microsoft's Enterprise Development Strategy
Introduction to COM
Integrated Application Development
Microsoft Development Tools
Scope of the Course

Lab

Using MSMQ in an Enterprise Solution

Skills

Students will be able to:

  • Contrast the desktop and enterprise development environments.
  • Explain the general terms related to client/server architecture.
  • Describe the architecture of an enterprise solution using the Microsoft's enterprise development strategy.
  • Describe the Component Object Model (COM) and its advantages.
  • Describe the Island Hopper News sample application as used in this course.
  • List the Microsoft development tools, products, and technologies that will be used to build the technical solutions to the course labs.

Module 2: Microsoft Message Queuing Services Overview and Architecture

Topics

Application Paradigms
Message Queuing
What is MSMQ?
MSMQ Architecture
MSMQ Features

Lab

Defining the MSMQ Architecture for an Enterprise Solution

Skills

Students will be able to:

  • Describe the features of Microsoft Message Queuing Services (MSMQ).
  • Describe the architecture of MSMQ.


Module 3: Installing MSMQ

Topics

Planning an MSMQ Enterprise
MSMQ Installation
Using MSMQ Explorer

Labs

Installing and Configuring MSMQ
Creating a Queue and Viewing the Contents of a Queue

Skills

Students will be able to:

  • Plan the topology and components of an MSMQ enterprise.
  • Install MSMQ.
  • Use MSMQ Explorer to create a queue.
  • Use MSMQ Explorer to view the content of a queue.


Day 2

Module 4: Introduction to MSMQ Programming

Topics

MSMQ Programming
MSMQ Sample Applications
MSMQ API
Creating a Queue
Creating an MSMQ Component by Using ATL
Practice: Using the Create Queue Application

Labs

Implementing a Win32 Application that Creates a Queue
Implementing an ATL Component that Creates a Queue

Skills

Students will be able to:

  • Describe the MSMQ programming model.
  • Describe the MSMQ programming architecture.
  • Discuss the MSMQ programming samples.
  • Describe the MSMQ API.
  • Create and/or delete a queue in an MSMQ project.
  • Create an ATL component to create an MSMQ queue.


Module 5: MSMQ Messages and Error Handling

Topics

Opening a Queue
Sending a Message and Closing a Queue
Error Handling
Receiving a Message

Lab

Messaging and Error Handling

Skills

Students will be able to:

  • Send and receive MSMQ messages programmatically.
  • Open and close MSMQ queues programmatically.
  • Create robust messaging applications.


Day 3

Module 6: Programming Message, Queue, and Computer Properties

Topics

Message Properties
Practice: Using the SendMessage Application
Queue Properties
Code Walk-through: CreateQueue Application
Machine Properties

Lab

Modifying Message and Queue Properties

Skills

Students will be able to:

  • Describe the purpose of the message, queue, and computer properties covered in this module.
  • Programmatically modify the properties of a message, a queue, and a machine (computer).


Module 7: Programming Non-transactional Messages

Topics

Non-transactional Messages
Handling Non-uniform Messages
Browsing Messages
Improving Message Recovery and Tracking

Labs

Programming Non-transactional Messages
Handling Variable Length Messages

Skills

Students will be able to:

  • Understand how to deploy distributed messaging applications with non-transactional messages.
  • Understand how to deploy messaging applications that can browse a receive message queue.


Day 4

Module 8: Programming Transactional Messages

Topics

Transactions
MSMQ Internal Transactions
MS DTC Transactions
MTS Transactions
The Confirmation Process in Transactional Messages
Performance

Lab

Transactional Messages

Skills

Students will be able to:

  • Describe how transactions in a message queuing context work.
  • Understand how to deploy distributed transactional messaging applications with internal or external transaction mechanisms.


Module 9: Locating and Accessing Specific Queues

Topics

Dynamic Queues
Locating a Public Queue
Retrieving the Results
Miscellaneous Locating Functions

Lab

Locating a Queue Programmatically

Skills

Students will be able to:

  • Describe how locating queues supports implementing dynamically distributed applications
  • Locate a queue with specific properties.
  • Access the queue.


Day 5

Module 10: MSMQ Security

Topics

Security Concepts
Privacy of Message Data
Authentication
Security and Audit
Best Practices

Lab

Security

Skills

Students will be able to:

  • Define security concepts in the context of messaging.
  • Implement privacy for messaging data.
  • Implement authentication for messages and queues.
  • List the advantages of three-tier security over two-tier security in enterprise solutions.
  • Implement security and audit.
  • List best practices associated with implementing security flow.
  • List the advantages of tiered security solutions.


Module 11: The Future in Microsoft Message Queuing

Topics

Message Queuing in Windows 2000
Message Queuing in COM+
Supporting XML

Skills

Students will be able to:

  • Describe how messaging is integrated into the Windows 2000 operating system.
  • Describe the messaging features, functions, and capabilities of COM+.
  • Describe XML support.


Module 12: Summary

Topics

MSMQ Concepts
MSMQ Programming

Skills

Students will be able to:

  • List the main MSMQ concepts and features covered in this course
  • List the MSMQ programming capabilities covered in this course.  

For more information or to give feedback, send e-mail to info@OneApex.com or call 949-597-2100