
最 低 价:¥118.40
定 价:¥148.00
作 者:(美)Ray Brown&Wade Baron&William D.Chadwick lll 著
出 版 社:北京大学出版社
出版时间:2001 年7月
I S B N:730105162X
| contents foreword acknowledgments introduction part1 com+ fundamentals 1 error handling com+ errors and structured exception handling the com+ error-handling model result codes error context visual basic environment considerations visual c++ environment considerations an error-model integration approach for c++ result code framework reporting functions exception class exception-processing macros usage pattern 2 smart pointers smart pointer advantages . usage patterns smart pointer comparison extended interfaces (#import) uuid type binding exceptions return values syntactic properties smart pointers as parameters smart pointer pitfalls release seterrorinfo interoperation leaks generic programming considerations 3 strings character encoding american national standards institute (ansi) double-byte character set (dbcs) unicode platform considerations your project setting tghar.h string conversion macros the olechar data type the bstr data type bstr alternatives string templates and classes bstr wrapper classes feature comparison usage pattern 4 concurrency elements of interception concurrency vs. reentrancy interception implementation the apartment managing sta concurrency the context the message filter interception services context neutrality implementation internal object references but is it fast? ftm vs. tna it's the object's choice goncurrency design guidelines the best concurrency is no concurrency exceptions: the case of client notification standard synchronization settings concurrency in local servers apartments in local servers local server pitfalls partial location transparency implications locking coarse-grained locks fine-grained locks 5 implementation environments object glue: idl and the type library visual c++ gom+ integration approaches calling com+ objects implementing com+ objects event support class factories multi-dual inheritance special considerations for larger projects visual basic calling com+ objects implementing com+ objects event support multi-dual inheritance visual j++ calling com+ objects implementing com+ objects event support class factories multi-dual inheritance script calling com+ objects implementing com+ objects event support selecting an implementation environment part ii architectural patterns and solutions 6 architectural patterns and solutions reuse reuse through object orientation object orientation in gom+ hierarchical reuse the case for isolating interface implementations com+ solutions containment aggregation implementation inheritance multiple implementation inheritance enhancing source gode reuse with c++ templates parameterizing on the derived class type parameterizing on the basn class type implementing interfaces that have not yet been defined 7 streaming and persistence lightweight persistence persistence solutions manual data transformation frameworks or other proprietary solutions ghoosing a portable format type stream architecture the itypestream interface the ctypestreamlmpl class type stream shift operators encoders and adapters type stream persistence interface ctypestreamonistream the c++ iostream adapter and encoder network data representation the ndr stream usage patterns 8 marshal-by-value when and why to marshal by value imarshal examined naive mbv implementations reusable mbv imarshal reexamined a solution marshaling visual basic objects by value fine-tuning mbv implications 9 reference cycle management resource management abandoned rings specific vs. generic solutions com+ objects in garbage collection environments visual basic visual j++ c++ solution framework simplifying the model with the universal delegator reusing split identity from other languages 10 generic programming the power of generic programming a review of stl containers iterators generic algorithms tension with component technology csb architecture csb guide philosophy collection wrapper predefined traits predefined interface method implementations persistence suppon stl adapters support structures selecting functionality project gonfiguration compiler and stl support csb internal type safety usage patterns part iii com+ in the enterprise 11 four—tier enterprise application architecture com+ design pattern concepts n-tier application architecture business objects the design pattern architecture presentation services layer object services layer transaction services layer data services layer simplifying object persistence a com-based hierarchical object model from rows and columns to collections and objects ipersistobjectstream interface ipersistobjectstream::createchildinstance ipersistobjectstream::load ipersistobjectstream::save ipersistobjectstream::savecompleted ipersistobjectstream::status iobjectstream interface iobjectstream::contents iobjectstream::load iobjectstream::propertyexists iobjectstream::propertylsnull iobjectstream::readproperty iobjectstream::save iobjectstream::writecollection iobjectstream::writeobject iobjectstream::writeproperty ipersisttransstream interface ipersisttransstream::createnestedtrans ipersisttransstream::execdelete ipersisttransstream::execlnsert ipersisttransstream::execupdate ipersisttransstream::save itransstream interface itransstream::clear itransstream::contents itransstream::parent itransstream::propertyexists itransstream::propertyisnull itransstream::readproperty itransstream::save itransstream::writecollection itransstream::writeobject itransstream::writeproperty using the design pattern interfaces retrieving a complex object fetching child objects on demand creating a directory object object persistence and com+ transactions saving changes to an existing object saving a new object deleting an object using the design pattern to implement a web-based application 12 soap why use soap? the details of soap soap request soap response soap faults soap code sample soap toolkits making your soap server known describing your soap server calling the soap methods designing soap solutions interoperability performance support for existing components security drawbacks benefits toolkits 13 the mts revolution a brief history of scalability the single concurrent client model designing for scalability refining a web example in-memory alternatives thread control transactions statelessness project modeling for the internet 14 data access the resource dispenser data access technology survey a crash course in ole db transparent ole db services ole db provider service components ole db objects transaction support cursors rowset processing activex data objects briefing resource pooling c++ data access provider specifics: fast loading index |
商品评论(0条)