AnyBook4Less.com
Find the Best Price on the Web
Order from a Major Online Bookstore
Developed by Fintix
Home  |  Store List  |  FAQ  |  Contact Us  |  
 
Ultimate Book Price Comparison Engine
Save Your Time And Money

Visual Basic and COM+ Programming by Example

Please fill out form in order to compare prices
Title: Visual Basic and COM+ Programming by Example
by Peishu Li
ISBN: 0-7897-2458-8
Publisher: Que
Pub. Date: 17 November, 2000
Format: Paperback
Volumes: 1
List Price(USD): $34.99
Your Country
Currency
Delivery
Include Used Books
Are you a club member of: Barnes and Noble
Books A Million Chapters.Indigo.ca

Average Customer Rating: 4.56 (9 reviews)

Customer Reviews

Rating: 5
Summary: Great Com+ book I ever read
Comment: I've tried some many COM books and this is the best I've read so far. The book provided simple, yet useful examples and also has advanced and real-world projects. I've benefited a lot from reading it. I've read this book twice, and each time I learnt something more... I highly recommend this book to all who wants to have a in depth understanding of COM.

Rating: 4
Summary: Good introduction to COM+
Comment: Although I have extensive experience with Visual Basic, I was a novice when it came to COM+. When I started this book, I felt that I did not know anything about COM+. When I finished this book, my skill set was at an intermediate level. This book is well written and I read this book from cover-to-cover. VB developers coming from a n-tier environment that used MTS may find this book a little too basic but for developer with little or no experience with MTS will find this book useful in learning COM+.

Rating: 2
Summary: A number of technical issues with its COM+ examples
Comment: I have so far read chapter 6, and to be very frank, I am not impressed. Note that my review is very technical, requring good understanding of SQL Server, Microsoft DNA and MTS. Unless you already understand these topics well, you may not find my review useful.

I have listed a few problems with the author's code (just in Chapter 6).

(1) In its Order_Place stored proc, the code calls exec Orders_Add, and then exec OrderDetails_Add procs. After calling both procs, the author tests @@error=0 to decide whether to commit or roll back transactions.

If there is an error in Order_Add, but not in OrderDetails_Add, then @@error would still be 0 (noting that @@error would be set by the last statement), and thus the code could commit despite inconsistencies.

(2) Still in the Order_Place proc, the author called begin tran/commit tran/rollback tran SQL statement. This proc is meant to be used by MTS/COM+, and thus should leave transaction handling to MTS.

(3) In Products_UpdStock proc, author raises an error if @UnitsInStock < @Quantity, without exiting the proc. Now if it weren't for the fact that Northwind database has a constraint requiring UnitsInStock>=0, this proc would have continued on to update UnitInStock despite Quantiy required > UnitsInStock. The author doesn't seem realize RaisError does not exit proc.

(4) The author uses Northwind_Order.Order class to place an order. This is a business logic layer module. It in turn calls Data.Access module, which is in the Data Access Layer. As the author pointed himself, the idea of having separate data access layer and business logic layer is so that if ever, the underlying database changes, only data access layer has to be recoded, thus improving maintainability. This is the one of the tenors of Microsoft DNA. However, in author's Northwind_Order.Order class, it actually constructs a SQL string that is in turn passed to Data.Access. If the underlying database is changed from SQL Server to Oracle, the author would have to rewrite both his Northwind_Order.Order class and Data.Access because Oracle has a totally different convention of writing stored proc.

These problems are just from cursory glances that I have taken at Chapter 6. I can't be sure how the rest of the book stacks up.

Similar Books:

Title: Scot Hillier's COM+ Programming with Visual Basic
by Scot Hillier
ISBN: 067231973X
Publisher: SAMS
Pub. Date: 21 September, 2000
List Price(USD): $39.99
Title: COM+ Programming With Visual Basic
by Jose Mojica
ISBN: 1565928407
Publisher: O'Reilly & Associates
Pub. Date: June, 2001
List Price(USD): $34.95
Title: Effective Visual Basic: How to Improve Your VB/COM+ Applications
by Joe Hummel, Ted Pattison, Justin Gehtland, Doug Turnure, Brian A. Randell, Jason Masterman, Brian Randell
ISBN: 0201704765
Publisher: Addison-Wesley Pub Co
Pub. Date: 15 January, 2001
List Price(USD): $29.99
Title: Programming Distributed Applications with COM+ and Microsoft Visual Basic 6.0 (with CD-ROM)
by Ted Pattison
ISBN: 073561010X
Publisher: Microsoft Press
Pub. Date: 15 June, 2000
List Price(USD): $49.99
Title: Building N-Tier Applications with COM and Visual Basic(r) 6.0
by Ash Rofail, Tony Martin
ISBN: 0471295493
Publisher: John Wiley & Sons
Pub. Date: 25 February, 1999
List Price(USD): $54.99

Thank you for visiting www.AnyBook4Less.com and enjoy your savings!

Copyright� 2001-2021 Send your comments

Powered by Apache