资源描述:
《计算机专业外文资料翻译》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
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