Humburger Icon
Let's Explore, Bibiliophile
close menu
Bookswagon-24x7 online bookstore
close menu
My Account
Distributed COM Application Development Using Visual C++ 6.0
Zoom

Distributed COM Application Development Using Visual C++ 6.0

          
5
4
3
2
1

Out of Stock


About the Book
This book gives intermediate-to-advanced Visual C++ and MFC programmers all the in-depth knowledge and skills they need to build and deploy state-of-the-art multi-tiered applications. Expert developer Jim Maloney helps developers master every key technology involved, including COM/DCOM, MTS, ADO, and OLE DB. Begin with a clear overview of multi-tier development in Microsoft environments: the goals and the challenges, including avoiding network bottlenecks. Then, master multi-tier development by building a robust, three-tier application. Review using objects in Visual C++ applications; then learn how to implement Win32 presentation layer clients and develop applications that run over TCP/IP. Understand database access using ActiveX Data Objects (ADO); implement an ActiveX-based object model; and learn the key fundamentals of DCOM, step-by-step. Use Microsoft Transaction Server (MTS) to implement your application's data service layer; build Web interfaces with Active Server Pages (ASP); deploy your application with Internet Information Server (IIS4), and much more.

Table of Contents:
1. Deploying a Multi-Tiered Client/Server Application. Application Architectures. Desktop Application Architecture Overview. 2-Tier Application Architecture Overview. 3-Tier Application Architecture Overview. N-Tier Application Architecture Overview. About 2-Tier Client/Server Applications. Physical Deployment of 2-Tier Client/Server Applications. About 3-Tier Client/Server Applications. Physical Deployment of 3-Tier Client/Server Applications. About the Object Model. Building a Suite of Applications. The Legacy Systems of Tomorrow. Deploying the Sample Application. Deploying a 3-Tier Client/Server Application. Deploying the Mom-n-Pop Video Store Application. 2. Using COM Objects in an Object Model. About Objects. About the Visual Basic Programming Language. Objects and Programming. Understanding an Object Model. The Mom-n-Pop Video Store Object Model. Stateful Objects and Transactions. Business-Focused Design. Candidate Solutions for State and Transactions. Standard COM Types. Unicode and BSTR Strings. Win32 Functions Related to BSTR Types. Using the CURRENCY Type. COM Data Type Conversion Functions. Using Variant Types. Working with Safe Arrays. Checking for Errors in a COM Application. Walkthrough-Using an Object Model. Creating a Dialog Application with the AppWizard. Adding Code to Initialize COM. Importing the Type Library. Adding a List Box to Display Members. Displaying Members in the List Box. A Closer Analysis of the UI Code. 3. Database Access Using OLE DB. What is OLE DB? About the Demonstration Programs. Using OLE DB Interfaces. About the First OLE DB Sample Program. Initializing a Data Source. Creating a Session on the Data Source. Command Objects. About OLE DB Rowset Objects. About OLE DB Accessors. Closing Comments on the First Example. Parameterized Queries with OLE DB. About the Second OLE DB Sample Application. Creating a Parameterized Command. Binding Parameters. Executing a Command with Parameters. Updating Data Using Parameterized Commands. Performing Transactions with OLE DB Interfaces. About the ITransactionLocal Interface. Isolation Levels and the StartTransaction Method. Zombie Rowsets. Transaction Retention. The OLE DB Transaction Demo Program. Using OLE DB Service Components. Opening a Data Source with MDAC. Using a Connection String. Using OLE DB Templates. Introducing the OLE DB Template Classes. The CDataSource and CDBPropSet Classes. The CSession Class. The CCommand and CAccessor Template Classes. Opening a Rowset Using CCommand. Retrieving Rows Using OLE DB Templates. Closing the Data Source, Session, and Rowset. Generating a CRowset Class Using the ATL Object Wizard. Parameterized Queries with OLE DB Templates. Executing a Parameterized Query with OLE DB Templates. Providing Parameter Binding Information. Supplying Parameter Values. Updating Data with OLE DB Templates. Transactions and the OLE DB Template Classes. Service Components and the OLE DB Templates. Connection Strings and OLE DB Templates. ADO Recordset and OLE DB Rowset Equivalences. Converting a Rowset to a Recordset. Converting a Recordset to a Rowset. Using the Data Link API. The Data Link Properties Dialog. Using the COleDBRecordView Class. A Simple COleDBRecordView Application. Generating A Simple COleDBRecordView Application. AppWizard-Generated Classes for OLE DB Record Views. Providing Controls for Database Columns. Adding an Update Now Button. A Full-Featured OLE DB Record View Application. Using Multiple Accessors. Adding New Records Using COleDBRecordView. Deleting a Record Using COleDBRecordView. Rowset Navigation Using Bookmarks. 4. Database Access with ADO. ADO and OLE DB. Problems Solved by ADO and OLE DB. ADO or OLE DB? The ADO Object Model. The ADO Connection Object. The ConnectionString Property. About the First ADO Demo. Importing the ADO Type Library. Connecting to a Database Using ADO. The Connection Object's Mode Property. Example: Connecting to a Database Using ADO. The ADO Recordset Object. About ADO Recordset Cursors. Opening a Recordset Using ADO. Example: Opening a Recordset. Accessing Fields in a Recordset. Scrolling through a Recordset Using Move Methods. Requerying and Resynching Recordsets. Using ADO Recordset Binding. Using the CADORecordBinding Class. Providing Binding Information to ADO. Retrieving Data From Bound Recordsets. Using ADO Command Objects. Building an SQL SELECT Statement. ADO Command Objects and Parameterized Queries. Using Multiple ADO Parameters in a Command. Retrieving Multiple Rows with the GetRows Method. Working with Transactions Using ADO. Updating Records in a Recordset. Mom-n-Pop Video Store Case Studies. Retrieving the Late Fee from the Database. Searching for a Member by Last Name. Invoking a Stored Procedure. 5. Implementing an Object Model. A Review of COM Servers. In-Process and Out-of-Process COM Servers. Setting Up an In-Process COM Server Project. The User Interface Test Project. Implementing a Simple Object Model. Goals of the First Simple Object Model. Creating the ATL Project. Enabling ATL Trace Information. Creating the ATL Objects. Exploring Code Generated by the ATL Wizard. Top-Level Objects and the Appobject Attribute. Noncreateable Public COM Classes. Objects That Participate in Collection Implementation. Types of Collections. Implementing the Category Class. Implementing the Categories Collection. Designating a Default Property. Adding a Collection Access Property. Testing the Object Model from Visual Basic. Providing a Friendly Description for the Type Library. Creating and Using COM Enumerators. Persistent Collections and ATL Stock Enumerators. Using the ATL Stock Enumerator. Supporting Empty Collections with CComEnum. Collections Built from Query Results. Accessing a Database to Create a Collection. Variant Parameters for the Item Method. Supporting the ISupportErrorInfo Interface. Object Models in 3-Tier Architectures. Case Studies from the Mom-n-Pop Object Model. Background. Accessing the Categories Collection. 6. Introducing DCOM. About DCOM. Services Provided by DCOM. OSF/DCE and Remote Procedure Calls. Before Getting Started with DCOM. A DCOM Walkthrough. Server-Side COM Registry Entries for Local Servers. Client-Side DCOM Registry Entries for Remote Servers. Using a Surrogate for Hosting a Remote In-Process Server. Setting up a DCOM Server Project. Implementing and Building the Server. Implementing a Test Client Program: User Interface. Running the Server Remotely. Permission Error. Using CoCreateInstanceEx. Troubleshooting DCOM Problems. Using the Error Lookup Utility. Using the Event Viewer. 7. Introducing Microsoft Transaction Server. About MTS. The MTS Run-Time Environment. About the MTS Explorer Utility. MTS Packages and Components. Creating an MTS Package. Installing an MTS Component into a Package. Running and Monitoring MTS Components. Enabling Just-in-Time Activation. The MTS API. About the IObjectContext Interface. Connection Pooling. Using the IObjectContext Interface. MTS Component Restrictions. Transactions in MTS. MTS Components and Transaction Outcome. Transaction Attributes of an MTS Component. Stateful and Stateless MTS Objects. 2-Tier in Disguise. Just-in-Time Activation. Implementing the IObjectControl Interface. MTS Transaction Support Demo. Debugging MTS Components. The MTS Shared Property Manager. The CreatePropertyGroup Method. Thread-Safe References to Shared Properties. Shared Property Manager Demo. Deploying MTS Servers. Security and MTS. About MTSDemo4 - The MTS Security Demo. MTS Package Identity is Your First Line of Defense. Declarative Security - Your Second Line of Defense. Defining an MTS Role. Enabling Package Authentication for Declarative Security. Assigning NT User Accounts to MTS Roles. How Programmatic Security Works. Determining Whether Security Is Enabled. Using the IsCallerInRole Method. 8. Implementing the Data Service Layer with MTS. Requirements for MTS Components. MTS Components Implement Business Rules. The Role of Stored Procedures. Be Business-Focused. Each Layer Adds Value. Mom-n-Pop MTS Components. The MemberData MTS Component. The VideoData MTS Component. The PointOfSale MTS Component. Case Study: Using the Shared Property Manager. Object Interaction Scenario - Finding a Member by ID. 9. Creating an Internet Interface with Active Server Pages. About Active Server Pages. The Mom-n-Pop Web Site Demo. Creating Active Server Pages. Adding Script Commands to ASP Pages. The ASP Built-In Objects. Declaring and Using Variables in ASP Scripts. Sending Content to the Browser. HTML Forms and the Request Object. Creating Objects in ASP Script. Processing Recordsets in ASP Scripts. Index.
read more
Premium quality
Premium quality
Bookswagon upholds the quality by delivering untarnished books. Quality, services and satisfaction are everything for us!
Easy Return
Easy return
Not satisfied with this product! Keep it in original condition and packaging to avail easy return policy.
Certified product
Certified product
First impression is the last impression! Address the book’s certification page, ISBN, publisher’s name, copyright page and print quality.
Secure Checkout
Secure checkout
Security at its finest! Login, browse, purchase and pay, every step is safe and secured.
Money back guarantee
Money-back guarantee:
It’s all about customers! For any kind of bad experience with the product, get your actual amount back after returning the product.
On time delivery
On-time delivery
At your doorstep on time! Get this book delivered without any delay.
Notify me when this book is in stock
Add to Wishlist
About the Book

This book gives intermediate-to-advanced Visual C++ and MFC programmers all the in-depth knowledge and skills they need to build and deploy state-of-the-art multi-tiered applications. Expert developer Jim Maloney helps developers master every key technology involved, including COM/DCOM, MTS, ADO, and OLE DB. Begin with a clear overview of multi-tier development in Microsoft environments: the goals and the challenges, including avoiding network bottlenecks. Then, master multi-tier development by building a robust, three-tier application. Review using objects in Visual C++ applications; then learn how to implement Win32 presentation layer clients and develop applications that run over TCP/IP. Understand database access using ActiveX Data Objects (ADO); implement an ActiveX-based object model; and learn the key fundamentals of DCOM, step-by-step. Use Microsoft Transaction Server (MTS) to implement your application's data service layer; build Web interfaces with Active Server Pages (ASP); deploy your application with Internet Information Server (IIS4), and much more.

Table of Contents:
1. Deploying a Multi-Tiered Client/Server Application. Application Architectures. Desktop Application Architecture Overview. 2-Tier Application Architecture Overview. 3-Tier Application Architecture Overview. N-Tier Application Architecture Overview. About 2-Tier Client/Server Applications. Physical Deployment of 2-Tier Client/Server Applications. About 3-Tier Client/Server Applications. Physical Deployment of 3-Tier Client/Server Applications. About the Object Model. Building a Suite of Applications. The Legacy Systems of Tomorrow. Deploying the Sample Application. Deploying a 3-Tier Client/Server Application. Deploying the Mom-n-Pop Video Store Application. 2. Using COM Objects in an Object Model. About Objects. About the Visual Basic Programming Language. Objects and Programming. Understanding an Object Model. The Mom-n-Pop Video Store Object Model. Stateful Objects and Transactions. Business-Focused Design. Candidate Solutions for State and Transactions. Standard COM Types. Unicode and BSTR Strings. Win32 Functions Related to BSTR Types. Using the CURRENCY Type. COM Data Type Conversion Functions. Using Variant Types. Working with Safe Arrays. Checking for Errors in a COM Application. Walkthrough-Using an Object Model. Creating a Dialog Application with the AppWizard. Adding Code to Initialize COM. Importing the Type Library. Adding a List Box to Display Members. Displaying Members in the List Box. A Closer Analysis of the UI Code. 3. Database Access Using OLE DB. What is OLE DB? About the Demonstration Programs. Using OLE DB Interfaces. About the First OLE DB Sample Program. Initializing a Data Source. Creating a Session on the Data Source. Command Objects. About OLE DB Rowset Objects. About OLE DB Accessors. Closing Comments on the First Example. Parameterized Queries with OLE DB. About the Second OLE DB Sample Application. Creating a Parameterized Command. Binding Parameters. Executing a Command with Parameters. Updating Data Using Parameterized Commands. Performing Transactions with OLE DB Interfaces. About the ITransactionLocal Interface. Isolation Levels and the StartTransaction Method. Zombie Rowsets. Transaction Retention. The OLE DB Transaction Demo Program. Using OLE DB Service Components. Opening a Data Source with MDAC. Using a Connection String. Using OLE DB Templates. Introducing the OLE DB Template Classes. The CDataSource and CDBPropSet Classes. The CSession Class. The CCommand and CAccessor Template Classes. Opening a Rowset Using CCommand. Retrieving Rows Using OLE DB Templates. Closing the Data Source, Session, and Rowset. Generating a CRowset Class Using the ATL Object Wizard. Parameterized Queries with OLE DB Templates. Executing a Parameterized Query with OLE DB Templates. Providing Parameter Binding Information. Supplying Parameter Values. Updating Data with OLE DB Templates. Transactions and the OLE DB Template Classes. Service Components and the OLE DB Templates. Connection Strings and OLE DB Templates. ADO Recordset and OLE DB Rowset Equivalences. Converting a Rowset to a Recordset. Converting a Recordset to a Rowset. Using the Data Link API. The Data Link Properties Dialog. Using the COleDBRecordView Class. A Simple COleDBRecordView Application. Generating A Simple COleDBRecordView Application. AppWizard-Generated Classes for OLE DB Record Views. Providing Controls for Database Columns. Adding an Update Now Button. A Full-Featured OLE DB Record View Application. Using Multiple Accessors. Adding New Records Using COleDBRecordView. Deleting a Record Using COleDBRecordView. Rowset Navigation Using Bookmarks. 4. Database Access with ADO. ADO and OLE DB. Problems Solved by ADO and OLE DB. ADO or OLE DB? The ADO Object Model. The ADO Connection Object. The ConnectionString Property. About the First ADO Demo. Importing the ADO Type Library. Connecting to a Database Using ADO. The Connection Object's Mode Property. Example: Connecting to a Database Using ADO. The ADO Recordset Object. About ADO Recordset Cursors. Opening a Recordset Using ADO. Example: Opening a Recordset. Accessing Fields in a Recordset. Scrolling through a Recordset Using Move Methods. Requerying and Resynching Recordsets. Using ADO Recordset Binding. Using the CADORecordBinding Class. Providing Binding Information to ADO. Retrieving Data From Bound Recordsets. Using ADO Command Objects. Building an SQL SELECT Statement. ADO Command Objects and Parameterized Queries. Using Multiple ADO Parameters in a Command. Retrieving Multiple Rows with the GetRows Method. Working with Transactions Using ADO. Updating Records in a Recordset. Mom-n-Pop Video Store Case Studies. Retrieving the Late Fee from the Database. Searching for a Member by Last Name. Invoking a Stored Procedure. 5. Implementing an Object Model. A Review of COM Servers. In-Process and Out-of-Process COM Servers. Setting Up an In-Process COM Server Project. The User Interface Test Project. Implementing a Simple Object Model. Goals of the First Simple Object Model. Creating the ATL Project. Enabling ATL Trace Information. Creating the ATL Objects. Exploring Code Generated by the ATL Wizard. Top-Level Objects and the Appobject Attribute. Noncreateable Public COM Classes. Objects That Participate in Collection Implementation. Types of Collections. Implementing the Category Class. Implementing the Categories Collection. Designating a Default Property. Adding a Collection Access Property. Testing the Object Model from Visual Basic. Providing a Friendly Description for the Type Library. Creating and Using COM Enumerators. Persistent Collections and ATL Stock Enumerators. Using the ATL Stock Enumerator. Supporting Empty Collections with CComEnum. Collections Built from Query Results. Accessing a Database to Create a Collection. Variant Parameters for the Item Method. Supporting the ISupportErrorInfo Interface. Object Models in 3-Tier Architectures. Case Studies from the Mom-n-Pop Object Model. Background. Accessing the Categories Collection. 6. Introducing DCOM. About DCOM. Services Provided by DCOM. OSF/DCE and Remote Procedure Calls. Before Getting Started with DCOM. A DCOM Walkthrough. Server-Side COM Registry Entries for Local Servers. Client-Side DCOM Registry Entries for Remote Servers. Using a Surrogate for Hosting a Remote In-Process Server. Setting up a DCOM Server Project. Implementing and Building the Server. Implementing a Test Client Program: User Interface. Running the Server Remotely. Permission Error. Using CoCreateInstanceEx. Troubleshooting DCOM Problems. Using the Error Lookup Utility. Using the Event Viewer. 7. Introducing Microsoft Transaction Server. About MTS. The MTS Run-Time Environment. About the MTS Explorer Utility. MTS Packages and Components. Creating an MTS Package. Installing an MTS Component into a Package. Running and Monitoring MTS Components. Enabling Just-in-Time Activation. The MTS API. About the IObjectContext Interface. Connection Pooling. Using the IObjectContext Interface. MTS Component Restrictions. Transactions in MTS. MTS Components and Transaction Outcome. Transaction Attributes of an MTS Component. Stateful and Stateless MTS Objects. 2-Tier in Disguise. Just-in-Time Activation. Implementing the IObjectControl Interface. MTS Transaction Support Demo. Debugging MTS Components. The MTS Shared Property Manager. The CreatePropertyGroup Method. Thread-Safe References to Shared Properties. Shared Property Manager Demo. Deploying MTS Servers. Security and MTS. About MTSDemo4 - The MTS Security Demo. MTS Package Identity is Your First Line of Defense. Declarative Security - Your Second Line of Defense. Defining an MTS Role. Enabling Package Authentication for Declarative Security. Assigning NT User Accounts to MTS Roles. How Programmatic Security Works. Determining Whether Security Is Enabled. Using the IsCallerInRole Method. 8. Implementing the Data Service Layer with MTS. Requirements for MTS Components. MTS Components Implement Business Rules. The Role of Stored Procedures. Be Business-Focused. Each Layer Adds Value. Mom-n-Pop MTS Components. The MemberData MTS Component. The VideoData MTS Component. The PointOfSale MTS Component. Case Study: Using the Shared Property Manager. Object Interaction Scenario - Finding a Member by ID. 9. Creating an Internet Interface with Active Server Pages. About Active Server Pages. The Mom-n-Pop Web Site Demo. Creating Active Server Pages. Adding Script Commands to ASP Pages. The ASP Built-In Objects. Declaring and Using Variables in ASP Scripts. Sending Content to the Browser. HTML Forms and the Request Object. Creating Objects in ASP Script. Processing Recordsets in ASP Scripts. Index.


Best Seller

| See All
Loading...

Product Details
  • ISBN-13: 9780130848741
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Prentice Hall
  • Height: 235 mm
  • No of Pages: 414
  • Weight: 845 gr
  • ISBN-10: 0130848743
  • Publisher Date: 26 Nov 1999
  • Binding: Paperback
  • Language: English
  • Spine Width: 29 mm
  • Width: 175 mm


Similar Products

How would you rate your experience shopping for books on Bookswagon?

Add Photo
Add Photo

Customer Reviews

REVIEWS           
Be The First to Review
Distributed COM Application Development Using Visual C++ 6.0
Pearson Education (US) -
Distributed COM Application Development Using Visual C++ 6.0
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Distributed COM Application Development Using Visual C++ 6.0

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book
    Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy. 


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    | See All
    Loading...


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!
    ASK VIDYA