資源描述:
《計算機專業(yè)外文資料翻譯》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫。
1、英文文獻ObjectpersistenceandJavaByArsalanSaljoughy,JavaWorld.com,05/01/97Objectdurability,orpersistence,isthetermyouoftenhearusedinconjunctionwiththeissueofstoringobjectsindatabases.Persistenceisexpectedtooperatewithtransactionalintegrity,andassuchitissubjecttostrictcon
2、ditions.(SeetheResourcessectionofthisarticleformoreinformationontransactionprocessing.)Incontrast,languageservicesofferedthroughstandardlanguagelibrariesandpackagesareoftenfreefromtransactionalconstraints.Aswe'llseeinthisarticle,evidencesuggeststhatsimpleJavapersist
3、encewilllikelystemfromthelanguageitself,whilesophisticateddatabasefunctionalitywillbeofferedbydatabasevendors.NoobjectisanislandIntherealworld,yourarelyfindanobjectthatlacksrelationstootherobjects.Objectsarecomponentsofobjectmodels.Theissueofobjectdurabilitytranscen
4、dstheissueofobjectmodeldurabilityanddistributiononcewemaketheobservationthatobjectsareinterconnectedbyvirtueoftheirrelationstooneanother.Therelationalapproachtodatastoragetendstoaggregatedatabytype.Rowsinatablerepresentthephysicalaggregateofobjectsofthesametypeondis
5、k.Therelationshipsamongobjectsarethenrepresentedbykeysthataresharedacrossmanytables.Althoughthroughdatabaseorganization,relationaldatabasessometimesallowtablesthatarelikelytobeusedtogethertobeco-located(orclustered)inthesamelogicalpartition,suchasadatabasesegment,th
6、eyhavenomechanismtostoreobjectrelationshipsinthedatabase.Hence,inordertoconstructanobjectmodel,theserelationshipsareconstructedfromtheexistingkeysatruntimeinaprocessreferredtoastablejoins.Thisisthesamewell-knownpropertyoftherelationaldatabasescalleddataindependence.
7、Nearlyallvariantsofobjectdatabasesoffersomemechanismtoenhancetheperformanceofasystemthatinvolvescomplexobjectrelationshipsovertraditionalrelationaldatabases.Toqueryortonavigate?Instoringobjectsondisk,wearefacedwiththechoiceofco-locatingrelatedobjectstobetteraccommod
8、atenavigationalaccess,ortostoreobjectsintable-likecollectionsthataggregateobjectsbytypetofacilitatepredicate-basedaccess(queries),orboth.T