Transactional COM+: Building Scalable Applications
Tim Ewald
- 出版商: Addison Wesley
- 出版日期: 2001-03-16
- 售價: $1,398
- 貴賓價: 9.5 折 $1,328
- 語言: 英文
- 頁數: 464
- 裝訂: Paperback
- ISBN: 0201615940
- ISBN-13: 9780201615944
-
相關分類:
JVM 語言
立即出貨(限量) (庫存=4)
買這商品的人也買了...
-
$480$379 -
$2,610$2,480 -
$960Software Engineering: A Practitioner's Approach, 5/e
-
$2,010$1,910 -
$1,340$1,273 -
$1,150$1,127 -
$420$332 -
$420$336 -
$590$466 -
$690$538 -
$420$332 -
$750$675 -
$560$504 -
$860$731 -
$550$468 -
$390$304 -
$650$514 -
$880$695 -
$750$593 -
$1,986Code Complete: A Practical Handbook of Software Construction, 2/e (Paperback)
-
$460$363 -
$880$695 -
$1,200$1,020 -
$980$774 -
$600$468
相關主題
商品描述
Description
Transactional COM+ explains how COM+ works and shows students how to use the technology to its fullest potential as a framework for developing scalable applications. It examines the theory behind COM+, why traditional object-oriented models are inappropriate for scalable systems, and the importance of transactions. This book goes beyond the rationale behind the technology and the details of its implementation to present practical, concrete guidelines for using COM+ to build applications that scale.
Table Of Contents
1. Scalability.Identity.
Identity in COM.
Sharing Identities.
The Problem with Sharing COM Objects.
Identity Revisited.
Implementing Named Objects on Top of a Database.
What Has Been Gained?
The Object-per-Client Model.
Transactions.
Clients and TMs and RMs, Oh My!
Local Transactions and Distributed Transactions.
The Transactions and Scalability Paradox.
Integrating Objects and Transactions.
Using Transactions Implicitly.
Applying Transactions.
Thinking about Roundtrips.
A Complex Problem.
A Much Better Solution.
Thinking about Roundtrips Again.
Processor Objects.
Summary.
2. Atoms.
The Windows Process Loader.
How COM+ Works.
From Consoles to Contexts.
Contexts as Objects.
Using Object Context.
Where Do Contexts Come From?
Applications.
Libraries and Servers.
Why Library Applications?
Configured Classes.
Custom Attributes.
Changing the Contents of the Catalog.
Context Flow.
Causality.
Causalities as Objects.
Using Call Context.
Summary.
3. Mechanics.
Marshaling Interface Pointers.
The Global Interface Table.
Context Relativity in Day-to-Day Life.
The Cost of Contexts.
The Cost of Contexts in Time.
The Cost of Contexts in Space.
Are Contexts Worth the Price?
Limiting Context.
Raw-Configured Classes.
Context-Aware Code Revisited.
A Different Way of Looking at the World.
Subtle Complexities.
Custom Marshaling.
Some Other Observations.
Summary.
4. Threads.
Where Do Apartments Come From?
Threading Models.
Default Contexts.
Remote Object Creation.
Cross-Apartment Calls.
Cross-Apartment Call Overhead.
Apartment Guidelines.
Activities.
Where Do Activities Come From?
Detecting the Presence of an Activity.
Allocating STA Objects to Apartments.
Serializing Calls.
Activity Deadlock.
Activity Guidelines.
Summary.
5. Objects.
Reusing Objects.
Controlling the Size of a Class's Pool.
Implementing Pooled Classes.
Managing Resources.
The GIT Trick (and Why It Doesn't Work).
An Exception to the Rules.
Object Pooling Guidelines.
Just-in-Time Activation.
How JITA Works.
Flipping the Done Bit.
The AutoComplete Attribute.
JITA Notifications.
JITA Guidelines.
Lies, Damn Lies, and Statistics.
Summary.
6. Transactions.
Higher Level APIs.
Distributed Transactions.
Starting a Distributed Transaction.
Enlisting a Connection.
The Two-Phase Commit Protocol.
Distributed Transaction Complexities.
Connection Management.
A Race Condition.
Declarative Transactions.
Enter Transaction Streams.
Where Do Transaction Streams Come From?
Detecting the Presence of a Transaction Stream.
Creating and Propagating a Distributed Transaction.
Autoenlisting Connections.
Controlling a Declarative Transaction's Outcome.
Flipping the Happy Bit.
The Four Possible States of a Transactional Object.
Root Objects and HRESULTs.
Transaction Stream Caveats.
Transaction Guidelines.
Summary.
7. Isolation.
Implementing Isolation Using Locks.
Implementing Isolation Using Versions.
Choosing an Isolation Level.
Isolation-Level Guidelines.
Specifying Isolation Levels.
Isolation Levels and the DTC.
Isolation Levels and COM+.
Bring Your Own Transaction.
ISOFLAGs.
Deadlocks.
Detecting Deadlocks.
Timeouts and the DTC.
Timeouts and COM+.
Timeouts and OLE DB.
Application-Level Isolation.
Pessimistic Application-Level Locking.
Summary.
8. Protocols.
HTTP Connection Management.
Internet Information Server.
Mapping Requests to Processes.
Mapping Requests to Contexts and Apartments.
Processing Requests in Parallel.
Active Server Pages.
Transactional Pages.
Transaction Outcome Notifications.
Server.Execute and Server.Transfer.
ASP Pages and Raw-Configured Classes.
ASP Pages and Object Context.
HTTP + XML = RPC.
SOAP and HTTP.
Applying SOAP.
Message Queuing.
Applying Message Queuing.
Summary.
9. Design.
Process Architecture.
Protocols.
Processors and Helpers.
A Simple Physical Model.
Accessing Processors via HTTP.
Transactions and Data Access.
Middle-Tier State.
Some Final Advice.
Appendix A: Toward .NET.
Appendix B: Building a Better Connection Pool.
IObjectControl.
IConn.
Using a Pooled Connection.
Source Code.
Appendix C: Debugging.
Appendix D: Catalog Attributes and Component Services Explorer Property Pages.
Class Property Pages.
Interface Property Pages.
Method Property Pages.
Rules.
Summary.
Index. 0201615940T04062001
商品描述(中文翻譯)
《Transactional COM+》解釋了COM+的工作原理,並向讀者展示如何充分利用這項技術作為開發可擴展應用程式的框架。本書探討了COM+背後的理論,傳統的物件導向模型為何不適用於可擴展系統,以及交易的重要性。本書不僅闡述了技術背後的原理和實現細節,還提供了使用COM+建立可擴展應用程式的實用指南。
目錄:
1. 可擴展性
2. 原子
3. 機制
4. 執行緒
以上是本書的簡介和目錄。