Adapter.docx

上传人:b****8 文档编号:30285678 上传时间:2023-08-13 格式:DOCX 页数:12 大小:213.19KB
下载 相关 举报
Adapter.docx_第1页
第1页 / 共12页
Adapter.docx_第2页
第2页 / 共12页
Adapter.docx_第3页
第3页 / 共12页
Adapter.docx_第4页
第4页 / 共12页
Adapter.docx_第5页
第5页 / 共12页
点击查看更多>>
下载资源
资源描述

Adapter.docx

《Adapter.docx》由会员分享,可在线阅读,更多相关《Adapter.docx(12页珍藏版)》请在冰豆网上搜索。

Adapter.docx

Adapter

香港城市大学

CITYUNIVERSITYOFHONGKONG

 

IS5314E-BusinessSystemIntegration

 

STUDENTNAME:

LINJIE

STUDENTID:

54349135

 

CONTENTS

1.Descriptionofadapter……………………………………………………………………………3

2.Critiqueforarticleofintegrationrequirementmethodology……………….…4

 

3.CritiquesforarticlesofAdapter…………………………………………………………..…5

3.1.Android-Best-Practice……………………………………………………………………..6

3.2.Javatechnology…………………………………………………………………………….…7

3.3.Intelligentdataadapters……………………………………...............................7

4.Innovativeideaforintegrationrequirementmethodology………………..……9

5.InnovativeideasforAdapter…………………………………………………………….……10

6.Conclusion……………………………………………………………………………………….……10

 

7.References……………………………………………………………………………………..………11

 

1.Descriptionofadapter

Astodescriptadapter,weshoulddefineitfirst,whatistheadapter?

Whatistheroleofitandhowitworked?

It’sdefinedasaclassinterfaceconvertedintoaninterfacethatclientsexpect,sothatletthetwoclasseswhichtheinterfacedoesnotmatchtheoriginalbecauseunabletoworktogethercanworktogether.Adapterisaninterfaceconverter,itcanbeanindependenthardwareinterfacedevice,thatallowshardwareorelectronicinterfacecanconnectedtootherhardwareorelectronicinterface,it’salsocanbeinformationinterfacethatperformthedatatranslationandtransformationatthetarget.Forexample:

poweradapter,tripodadapterbaseparts,USBandserialportadapterequipmentandsoon.

Usingoftheadapterinourlifeisveryhighfrequencies,suchasacomputer,thenwhatistheroleandfunctionsoftheadapter?

Whenweunderstandingthisdevice,actuallyitcanbeanalyzedbythepopularpointofview,whatiscalledadapterisanaccessorythatisintermediatephasecoupling,ofcourseduringthetimeweconductinghardwaredesignwehavetotakeintoaccountthehardwaredesignrequirementsanddesignprinciples.Fortheroleofadapter,itcanadjustalayout,butalsoforitsinterface,ithastheabilitytodesignandcarryoutareorganizationoftheport,dependingontheoperationprincipleofthedeviceduringuseview.

Ithasmanytypes,wecanaccordingtoourneedtochoosetheadapter,thefunctionofadapterisquiteperfect,becausedifferenttypesofadaptercorrespondingfunctioniscompletelydifferent,ofcourse,whenweselectingtheadapter,wealsoneedtoconsideradaptionofotheraccessoriescombination,inthiscase,whenmakingadjustmentstobeabletoreflectacertaindegreeofconvenienceandflexibilitytolettherealrelativeaccessequipmentandaccessoriesplayaroleintheprocess.

Theadapterwediscussedinthiscourseismostlyaboutthird-partyadapters,whicharegeneralizedAPIsthatprovideacommonsetoffunctioncallsacrossdifferentapplications(includingmessagebroker,ESBs,transactionsystem,applicationservers),someintelligentadapterscanperformthedatatranslationandtransformationatthetarget,andsomenon-intelligentadaptersprovidebasicconnectivityandthetranslationandtransformationisdoneatthehub.

2.Critiqueforarticleofintegrationrequirementmethodology

Article:

Business’NewRequirement:

InformationSystemsIntegration-MethodsandTechnologies

Inthisarticle,theydiscussedandpresentdifferenttypesofinformationsystemthatusedbycompanies,suchasERP(EnterpriseResourcePlanning),SCM(SupplyChainManagement),CRM(CustomerRelationshipManagement),alsothepossiblemethodologyofintegratingthesesystems,andduringtheprocessofsystemsintegration,thereweresomeintegrationofdata(database,datawarehouse)thathandledbythosesystems,andthemethodologyofdataintegrationalsobeconsidered.

ThefirstwayisintegrationthroughBusinessServicesandProcess,themostpopularusedmethodsofserviceintegrationisSOA(ServiceOrientedArchitecture)andESB(EnterpriseServiceBus),themostpopularusedmethodsofprocessintegrationisBPM(BusinessProcessManagement)andBPEL(BusinessProcessExecutionLanguage).Thosemethodologiesallcanplayanimportantroleinsystemintegration,helpdefineandsolvetheintegrationrequirementsofsystemintegration,theintegrationrequirementsisacriticalfactorsofthesystemintegrationwhetheritissuccessfulornot,weshouldclearlyunderstanditbeforetheintegrationprocess,sothatcanavoiderrorsandmistakesduringtheintegrationprocess,themethodologyofintegrationrequirementsisveryimportantandnecessary.

Theintegrationrequirementsoftheinformationsystemsfortoday’scompaniesisnecessarymorethaneverbefore,thereweretensandhundredsofindependentsystemsorapplicationsinacompany,thatinvolvesahighlycostandmoretimetomatchingtheinformationfromdifferentsystemsorapplications.Sothat,theintegrationinformationsystemsmustinterconnectionandintercommunicationasacomplex,completeandcoherentsystem,allintegrationmembersshouldintervenesoastoensurecompatibilityandcombinedinteroperability,improvetheoperationalintegrationbyanenterprisesystemcanaffectthewholeorganizationandalsocanbringpositivelyimpactofthecompany’sperformance,nomattertheintegrationmethodortechnologyused.

Formyopinion,integrationrequirementsisavitalandessentialpartinsystemintegration.Innowadays,wearelivinginatechnologyera,everythingarerelatetotechnology,anddifferentkindsofsystemsareusedinourdailylife,soweneedintegrationsuchsystemstomakethetechnologymoreefficientandbetteruseforus.SothatIsuggestweshoulddefinesomeintegrationrequirementsmodeforsomespecificrequirements,thencansystematicandblamelessfoundtherequirementsandsolvedthem,reducedcostanderrors,betterimplementthesystemintegration.

 

3.CritiquesforarticlesofAdapter

3.1Android-Best-Practice

Article:

BestPracticeofAdapter

Thisarticleiskindlyaboutthebestpracticeofadapter,describedthematterswhichneedattentionandoptimizationstrategieswhenusingadapterinAndroiddevelopmentandapplication.Theauthorgaveananswerabout“whetheradapterisvieworcontroller?

Adapterdoesnot“view”andnot“controller”,it’sabindingdeviceaboutdataandviews,theprogramcodeofdata,binder,viewsshouldnotbetiedtogether.Thenhedidaresearchaboutadapter,tofinalizeabasetocall.Atthefirst,shoulddefinetherequirementsabouttheresearch,suchasthedatashouldnotknowtheexistingofadapterandview,adaptershouldnotbeanindependentclass,butaninternalclassoffragmentandactivity,andalsohassomerequirementthatnottoorelatedtoadapter,thensolvedthoserequirementsonebyone.

Fromtheresearchweknowthatadapterjustonlyasadataandabinderofitem,neitherbelongtoviewnorcontroller,it’ssimilartoautilityclass.Itemisview,andshouldsharingaviewstandardwithactivityandfragment.Forexample,asimilarapproachhas“onBindViews()”and“setView()”.Thenwesaidhowitemasaseparateobjectcommunicatewithadapter,ifyouuse“commonAdapter”,thentheitemisanordinaryandyoucanpasstheobjectactivity.

Formyopinion,thisarticlehelpusunderstandtheroleofadapterinAndroiddevelopmentandapplication,thenwecanhaveabetteruseofit,withthebetteruseofadapter,wecaneasilysolvedtherequirementspresentedbydesignandproduct,andprovideabetterperformanceinAndroiddevelopmentandapplication.

 

3.2Javatechnology

Article:

Adaptermodeprincipleandexampleintroduction

Thispaperintroducedthebasicprinciplesoftheadapter,andthenthroughanexamplefromtheperspectiveofthereaderquicklyunderstandthecoderuntheadaptermode,thentodosomeintroductionabouttheapplicationofadaptermodeinJDK,atlast,dosomesummaryabouttwoadaptermodelsimplementationdifferences,advantagesanddisadvantages,applicationscenarios.

Adaptermodeadaptaclassinterfaceintouserexpect,anadapterusuallyallowedtheclassinterfacewhichcan’tworktogetherbecauseofincompatibleinterfacecanworktogether,thewayistowrappedtheownclassinterfaceintoanexistingclass,themainpurposeofadapterdesignmodeiscombiningtwounrelatedclasses,thereweretwocommonlyusedmethods,modifytheinterfaceofeachclassandifthereisnosourceordon’twanttomodifytheirinterfacebecauseofanapplication,thentheyneedtouseadaptertocreateahybridinterfacebetweenthetwointerface.

Thediagramshowedaboveisadapterpattern,therewerethreeimportantrolesexistinginadapterdesignpattern:

Adaptee,AdapterandTarget,twooftheexistingclassesyouwanttobegroupedtogetherisAdapteeandTarget.Relatedtothediagram,weneedtocreateanAdaptercombinethentogether.

Adaptermodeisalsoapackagingmode,alsohaspackagingfeaturesasdecorativepattern,moreover,objectAdaptermodealsohascommissionedmeaning.Overall,theadaptermodebelongtocompensationmode,dedicatedtoexpansionandmodificationinsystemlaterperiod.

Overuseoftheadapterwillmakingthesysteminaverymessyconditionanddifficulttograsptheentirety.Forexample,clearlyseetheinterfaceiscalledA,infact,theinternalisadaptedtoachieveBinterface,ifthishappenstoomuchinasystem,it’stantamounttoadisaster.Soifit’snotnecessary,youcan’tuseanadapter,butdirectlytothesystemreconstruction.

 

3.3Intelligentdataadapters

Article:

IntelligentdataadaptersResearchandApplication

Inordertoletintelligentdataadapterhasversatilityindifferentbusinesssystem,theyresearchedtheexpertintelligentdataadapter,helpintelligentdataadapterconductingthedynamicDataConversion.

Intheprocessofinformation

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 医药卫生 > 基础医学

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1