pandora
Now from NewTech: .NET Training
NewTech offers the most comprehensive and practical training in the .NET community today. BOOTCAMP style .NET Training is now being offered for VB.NET, C#.NET and ASP.NET.

View our Student Testimonials and the Site Map here.

tiffany www.mccabecapital.com
 


MTS/COM+ Performance and Tuning
Regular Version


Course Name: MTS/COM+ Performance and Tuning

Brief Course Description: Learn how to write MTS/COM+ applications correctly and understand the many pitfalls that can be encountered when developing these complex applications. Learn to apply performance and tuning transactional techniques that result in dramatic throughput improvements.

Duration: 4 Full Days

Format: Instructor-led, hands-on

Prerequisites: Advanced knowledge of Visual Basic and Active Server Pages is assumed. Student should already be able to write an ActiveX DLL and use it on an Active Server Page.

Recommended Reading: Students should be comfortable in advance of attendance with the content in the following books:

    VB6 BOOTCAMP Certification Exam Guide, Mezick; publisher McGraw-Hill

    Professional Active Server Pages, Homer, Sussman, Francis; publisher Wrox Press

Assumed Audience: Advanced Visual Basic and ASP developers

Course Materials: MTS/COM+ Textbook, NewTech MTS/COM+ Resource Pack with CD

Resource pack contains the following:

  1. Source code listings
  2. Book lists with commentary and reviews
  3. Terminology grid, listing all pertinent terms in alphabetical order. All terms are linked, i.e., a term that refers to another term in the list is a link, allowing the user to view related terms in real time
  4. List of 3rd party add-ons and libraries that aid in building systems with this technology
  5. Web site listings related to this topic
  6. White papers written by NewTech consulting staff on this topic
  7. CD-ROM with additional resources for the developer using this technology

Course Description Summary: This comprehensive course on writing Windows DNA applications with MTS or COM+ is based upon the experience of NewTech's consultant's in the field. Technologies such as MTS and COM+ are a moving target and the state of the art in best practices is continually advancing. Many books in print are now obselete in the face of the facts. Many “experts” will claim they know how to write these applications correctly, without applying their suggested techniques in the field. This course will allow developers to write scalable, maintainable and therefore highly efficient Windows DNA applications using techniques that represent the current state of the art. This course covers not just how to write these applications but more importantly – what techniques to avoid when writing these applications, and why. In addition this course also prepares the student for the migration to the .NET platform with an introduction to SOAP with Visual Basic 6.0 and ASP as well as an overview of the discrepancies between VB 6.0 and VB.NET.

The Outline

  1. Understanding the MTS/COM+ Interception Based Programming Model
    1. Designing MTS(Microsoft Transaction Server)/COM+ applications correctly.
    2. Understanding why application design needs to be from a Session based perspective rather than more traditional Entity based perspective.
    3. One Object per Client - understand exactly how Single Threaded Apartments work in MTS/COM+
    4. ASP(Active Server Page) Applications and its use of the One Object per Client model
    5. What are the features of MTS/COM+?
      1. Thread Pooling
      2. Hiding the hideous details of DCOM (Distributed Component Object Model)
      3. Database Connection Pooling
      4. Declarative Transactions
    6. How have people written MTS/COM+ applications in the past? What have we all learned and will this class help students to avoid these mistakes in the future?
  2. Configured Components
    1. Understanding the Object Context
      1. What is a Context Wrapper and is it always helping me
      2. Understanding Activities and how are they created?
      3. Creating packages and how to correctly configure components within them.
      4. Critical Information: When and when not to use Server Packages and Library Packages.
      5. Understanding exactly what occurs behind the scenes creating instances of classes within MTS and COM+
      6. What is the SCM(Service Control Manager) and how does it work with MTS? What about COM+?
      7. Critical Information: Using ObjectContext.CreateInstance(), CreateObject() and the New keyword correctly.
    2. Using the Shared Property Manager(SPM)
  3. Raw-Configured and Non-Configured Components
    1. Why shouldn't components always be configured?
    2. Performance benefits of Raw-configured and non-configured components.
      1. How much faster are these types of component than Configured components and why?
    3. Using Object Construction and the Construct String
    4. What can Configured components do that Raw-configured components can't?
    5. How do I handle transactions?
    6. Performance testing your components from a Win32 front end
  4. Demystifying Transactions
    1. Local Transactions vs. Declarative Transactions
    2. When are Local transactions appropriate?
    3. When should Declarative Transactions be implemented?
    4. Two Options for Local Transactions
      1. Handling Transactions with Stored Procedures
        1. Using Transact-SQL to manage transactions in SQL Server 2000
        2. Why do some people say this is bad and why are they full of hot air?
      2. Handling Transactions with ADO 2.x(Active Data Objects)
        1. Using the Connection Object to create your local transactions
        2. Why this method works so well when you're not sure what the database is that will be used.
      3. Understanding Isolation Levels
        1. ReadCommitted
        2. ReadUnCommitted
        3. Repeatable Read
        4. Serializable
  5. Efficient Data Access in Ditributed Applications
    1. The goal is to decrease round trips to and from the database
    2. Revisiting why traditional, strict, hierarchical object models generate excess network traffic
    3. Designing from the Session based perspective
    4. Executing Stored Procedures as a Batch to reduce network traffic
    5. Understanding Database connection pooling
  6. Writing Efficient Active Server Pages Applications
    1. Understanding the Context for an Active Server Page
    2. Writing DLL's for use within a scripting environment
    3. Avoiding the overhead of additional contexts for instances of components
    4. Using the Transaction directive in an ASP - Pros and Cons
    5. What happens if I assign a session variable to a VB component? DON'T do this!
    6. Strategies for correctly handling session state
    7. Using the Windows Application Stress tool to gauge the performance of Active Server Page Applications and server side components
  7. Implementing Role Based Security and Using the MTS/COM+ Admin Objects
    1. Determining the clients role with the ObjectContext
    2. Using the Security object to determine the client's role
    3. Using roles to prevent access to an individual method of a component
    4. Using the MTS or COM+ Admin objects to programmatically work with packages, components, interfaces and roles
    5. Using the MTS Admin Objects to install components and create and export packages
  8. Role of XML in Windows DNA Applications
    1. Can the use of XML defend applications against a constantly changing data access technology (ADO)?
    2. Using the DOM(Document Object Model) and/or SAX(Simple API for XML) parsing mechanisms for manipulating XML on the Server Side
    3. Using XSLT(Extensible Stylesheet Language for Transformations) for presentation purposes on the Server Side
  9. Designing VB 6.0 Applications for migration to VB.NET
    1. Understanding the changes in VB.NET so we can try to make migration easier in the future
    2. Which data types and keywords should be avoided?
    3. Where should I declare my variables?
When the student leaves the course... he or she will have an excellent understanding of what it takes to successfully develop Windows DNA applications. By understanding exactly how MTS and COM+ Services function, students will be able to avoid making very costly design and coding errors that can bring an application of this type to its proverbial knees. Students will develop techniques for unit testing their applications during the development cycle so scalability problems can be eliminated before the application goes into beta/pilot stages.

Click here to register.

Click here for Pricing.

Terms of Use
Since 1993, we have delivered training in cities as diverse as: Peoria ,Arizona | Corona / Salinas / Pasadena, CA | Torrance / Lancaster / Hayward, CA | Palmdale / Orange / Escondido, CA | Fullerton / Sunnyvale / Elk Grove, CA | Thousand Oaks / El Monte / Concord, CA | Simi Valley / Vallejo / Inglewood, CA | Visalia / Costa Mesa / Downey, CA | Santa Clara / West Covina / Roseville, California | Norwalk / Fairfield / Burbank, California | San Buenaventura / Richmond / Berkeley, California | Daly City / Antioch /Foster City, California | Milpitas / Sacramento, California | Lakewood / Fort Collins / Thornton ,Colorado | Westminster / Arvada / Pueblo ,Colorado | Bridgeport / Hartford / New Haven ,CT | Stamford / Waterbury ,Connecticut | Pembroke Pines / Hollywood / Port St. Lucie ,Florida | Coral Springs / Gainesville / Miramar ,FLA | Clearwater / Pompano Beach / Ft. Lauderdale / Orlando, FL | Savannah & Athens, Georgia | Burlington,Vermont | Naperville & Joliet ,Illinois | Springfield / Peoria / Elgin ,Illinois | Muncie, Indiana | Evansville & South Bend, Indiana | Muncie & Cedar Rapids ,Iowa | Kansas City / Topeka / Olathe ,Kansas | Lafayette ,Louisiana | Springfield / Lowell / Cambridge ,MA | Warren / Sterling Heights / Flint ,Michigan | Lansing & Ann Arbor,Michigan | Independence / St. Louis / Saint Louis,Missouri | Billings & Lincoln,Nebraska | Manchester ,New Hampshire | Bellevue ,Washington | Green Bay ,Wisconsin. Contact us to discuss bringing our training to your location!