资源描述:
《[doc]-计算机专业外文资料翻译--对象持久化和java-深入的了解面向对象语言中的对象持久的讨论-其他专业》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、英文文献ObjectpersistenceandJavaByArsalanSaljoughy,JavaWorld.com,05/01/97Objectdurability,orpersistence,isthetermyouoftenhearusedinconjunctionwiththeissueofstoringobjectsindatabases.Persistenceisexpectedtooperatewithtransactionalintegrity,andassuchitissubjec
2、ttostrictconditions.(SeetheResourcessectionofthisarticleformoreinformationontransactionprocessing.)Incontrast,languageservicesofferedthroughstandardlanguagelibrariesandpackagesareoftenfreefromtransactionalconstraints.Aswe'llseeinthisarticle,evidencesugge
3、ststhatsimpleJavapersistencewilllikelystemfromthelanguageitself,whilesophisticateddatabasefunctionalitywillbeofferedbydatabasevendors.NoobjectisanislandIntherealworld,yourarelyfindanobjectthatlacksrelationstootherobjects.Objectsarecomponentsofobjectmodel
4、s.Theissueofobjectdurabilitytranscendstheissueofobjectmodeldurabilityanddistributiononcewemaketheobservationthatobjectsareinterconnectedbyvirtueoftheirrelationstooneanother.Therelationalapproachtodatastoragetendstoaggregatedatabytype.Rowsinatablerepresen
5、tthephysicalaggregateofobjectsofthesametypeondisk.Therelationshipsamongobjectsarethenrepresentedbykeysthataresharedacrossmanytables.Althoughthroughdatabaseorganization,relationaldatabasessometimesallowtablesthatarelikelytobeusedtogethertobeco-located(orc
6、lustered)inthesamelogicalpartition,suchasadatabasesegment,theyhavenomechanismtostoreobjectrelationshipsinthedatabase.Hence,inordertoconstructanobjectmodel,theserelationshipsareconstructedfromtheexistingkeysatruntimeinaprocessreferredtoastablejoins.Thisis
7、thesamewell-knownpropertyoftherelationaldatabasescalleddataindependence.Nearlyallvariantsofobjectdatabasesoffersomemechanismtoenhancetheperformanceofasystemthatinvolvescomplexobjectrelationshipsovertraditionalrelationaldatabases.Toqueryortonavigate?Insto
8、ringobjectsondisk,wearefacedwiththechoiceofco-locatingrelatedobjectstobetteraccommodatenavigationalaccess,ortostoreobjectsintable-likecollectionsthataggregateobjectsbytypetofacilitatepredicate-basedaccess(queries),orboth.T