OReilly.COM.and.Dot.Net.Component.Services.pdf

(3735 KB) Pobierz
Untitled Document
308617537.001.png
COM and .NET Com ponent Serv ices
Dedicat ion
Foreword
Preface
Scope of This Book
Som e Assum pt ions About t he Reader
Def init ions and Text Convent ions
Ot her COM+ Books and Refer ences
How t o Cont act Us
Acknow ledgm ent s
1. COM+ Com ponent Serv ices
1.1 COM+ Com ponent Ser v ices
1.2 The Com ponent Ser vices Explor er
1.3 Hello COM+
1.4 COM+ Configur ed Com ponent s
1.5 Applicat ions, DLLs, and Com ponent s
1.6 Configur ing COM+ Applicat ions
1.7 Debugging COM+ Applicat ions
1.8 Deploy ing COM+ Applicat ions
1.9 Sum m ary
2. COM+ Cont ext
2.1 Encapsulat ion v ia Marshaling in COM
2.2 Encapsulat ion v ia I nt ercept ion in COM+
2.3 The Cont ext Obj ect
2.4 The Call Obj ect
2.5 Cr oss- Cont ext Manual Marshaling
2.6 Sum m ary
3. COM+ I nst ance Managem ent
3.1 Client Types
3.2 I nst ance Managem ent and Scaling
3.3 Obj ect Pooling
3.4 Just - in- Tim e Act iv at ion
3.5 Com bining JI TA w it h Obj ect Pooling
3.6 Obj ect Const r uct or St r ing
3.7 COM+ I nst ance Managem ent Pit falls
4. COM+ Transact ions
4.1 Transact ion Basics
4.2 Transact ion Pr opert ies
4.3 Transact ion Scenarios
4.4 COM+ Transact ions Archit ect ur e
4.5 Configur ing Transact ions
4.6 Vot ing on a Transact ion
4.7 Transact ional Obj ect Life Cycle
4.8 Designing Transact ional Com ponent s
4.9 Nont ransact ional Client s
4.10 Transact ions and Obj ect Pooling
4.11 Com pensat ing Tr ansact ions
4.12 Transact ion Ex ecut ion Tim e
2
4.13 Tracing Transact ions
4.14 I n- Doubt Transact ions
4.15 Transact ion St at ist ics
4.16 COM+ Transact ions Pit falls
5. COM+ Concur r ency Model
5.1 Obj ect - Orient ed Program m ing and Mult iple Threads
5.2 Apart m ent s: The Classic COM Solut ion
5.3 Act iv it ies: The COM+ I nnovat ion
5.4 COM+ Configurat ion Set t ings
5.5 Act iv it ies and JI TA
5.6 Act iv it ies and Transact ions
5.7 Tracing Act iv it ies
5.8 The Neut ral Threaded Apart m ent
5.9 Sum m ary
6. Pr ogram m ing t he COM+ Cat alog
6.1 Why Pr ogram t he Cat alog?
6.2 The Cat alog Progr am m ing Model
6.3 Cat alog St ruct ur e
6.4 I nt eract ing w it h t he Cat alog
6.5 Feat ur es of COMAdm inCat alog
6.6 The COM+ Cat alog and Transact ions
6.7 Sum m ary
7. COM+ Secur it y
7.1 The Need for Secur it y
7.2 Basic Secur it y Ter m s
7.3 Role- Based Secur it y
7.4 Secur ing a Ser ver Applicat ion
7.5 Secur ing a Librar y Applicat ion
7.6 Pr ogram m at ic Role- Based Secur it y
7.7 Secur it y Boundar ies
7.8 Advanced COM+ Securit y
7.9 COM+ Secur it y Pit falls
7.10 Sum m ary
8. COM+ Queued Com ponent s
8.1 Maj or Benefit s of Queued Com ponent s
8.2 Queued Com ponent s Archit ect ure
8.3 Com ponent Ser vices Explor er Configurat ion
8.4 I nvoking Queued Com ponent s on t he Client Side
8.5 Designing Queued Com ponent I nt erfaces
8.6 Receiv ing Out put from a Queued Com ponent
8.7 Queued Com ponent Er ror Handling
8.8 Queued Com ponent s and Transact ions
8.9 Sy nchr onous Versus Asy nchronous Com ponent s
8.10 Queued Com ponent s Secur it y
8.11 Queued Com ponent s Pit falls
8.12 Sum m ary
9. COM+ Ev ent Serv ice
9.1 Classic COM Ev ent s
9.2 COM+ Ev ent Model
9.3 The Event Class
9.4 Subscript ion Ty pes
9.5 Deliv ering Ev ent s
3
9.6 Ev ent Filt er ing
9.7 Dist ribut ed COM+ Ev ent s
9.8 Asy nchronous Ev ent s
9.9 COM+ Ev ent s and Transact ions
9.10 COM+ Ev ent s and Securit y
9.11 COM+ Ev ent s Lim it at ion
9.12 Sum m ary
10. .NET Serv iced Com ponent s
10.1 Developing Serv iced Com ponent s
10.2 .NET Assem blies and COM+ Applicat ions
10.3 Regist er ing Assem blies
10.4 Conf igur ing Ser v iced Com ponent s
10.5 Applicat ion Act iv at ion Type
10.6 The Descr ipt ion At t r ibut e
10.7 Accessing t he COM+ Cont ext
10.8 COM+ Cont ext At t ribut es
10.9 COM+ Obj ect Pooling
10.10 COM+ Just - in- Tim e Act ivat ion
10.11 COM+ Const r uct or St r ing
10.12 COM+ Transact ions
10.13 COM+ Sy nchronizat ion
10.14 Pr ogram m ing t he COM+ Cat alog
10.15 COM+ Secur it y
10.16 COM+ Queued Com ponent s
10.17 COM+ Loosely Coupled Ev ent s
10.18 Sum m ary
A. The COM+ Logbook
A.1 Logbook Requirem ent s
A.2 Log File Exam ple
A.3 Using t he Logbook
A.4 Conf igur ing t he Logbook
A.5 How Does t he Logbook Work?
A.6 Sum m ary
B. COM+ 1 .5
B.1 I m prov ed User I nt erface Usabilit y
B.2 Legacy Applicat ions and Com ponent s
B.3 Disabling Applicat ions and Com ponent s
B.4 Pausing Applicat ions
B.5 Serv ice Act iv at ion Type
B.6 I m prov ed Queuing Support
B.7 Applicat ion Pooling and Recycling
B.8 Applicat ion Dum p
B.9 Applicat ion Part it ioning
B.10 Aliasing Com ponent s
B.11 Configurable Transact ion I solat ion Level
B.12 I m prov ed Cont ext Act ivat ion Set t ing
B.13 Pr ivat e Com ponent s
B.14 Web Serv ices in COM+ 1. 5
B.15 Sum m ary
C. I nt r oduct ion t o .NET
C.1 .NET Program m ing Languages
C.2 Packaging .NET Com ponent s: Assem blies
C.3 Dev eloping . NET Com ponent s
4
C.4 Wr it ing .NET Client - Side Code
C.5 .NET as a Com ponent Technology
C.6 Com posing Assem blies
Colophon
5
Zgłoś jeśli naruszono regulamin