软件外文翻译.docx

上传人:b****2 文档编号:198075 上传时间:2023-04-28 格式:DOCX 页数:14 大小:68.19KB
下载 相关 举报
软件外文翻译.docx_第1页
第1页 / 共14页
软件外文翻译.docx_第2页
第2页 / 共14页
软件外文翻译.docx_第3页
第3页 / 共14页
软件外文翻译.docx_第4页
第4页 / 共14页
软件外文翻译.docx_第5页
第5页 / 共14页
软件外文翻译.docx_第6页
第6页 / 共14页
软件外文翻译.docx_第7页
第7页 / 共14页
软件外文翻译.docx_第8页
第8页 / 共14页
软件外文翻译.docx_第9页
第9页 / 共14页
软件外文翻译.docx_第10页
第10页 / 共14页
软件外文翻译.docx_第11页
第11页 / 共14页
软件外文翻译.docx_第12页
第12页 / 共14页
软件外文翻译.docx_第13页
第13页 / 共14页
软件外文翻译.docx_第14页
第14页 / 共14页
亲,该文档总共14页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

软件外文翻译.docx

《软件外文翻译.docx》由会员分享,可在线阅读,更多相关《软件外文翻译.docx(14页珍藏版)》请在冰点文库上搜索。

软件外文翻译.docx

软件外文翻译

学校代码:

10128

学号:

201130205034

 

 

本科毕业设计外文文献翻译

英文题目:

Java2MicroEditionandtheWorldofJava

题目:

J2ME和Java领域

学生姓名:

李晓燕

学院:

信息工程学院

系别:

软件工程系

专业:

软件工程

班级:

软件11-4

指导教师:

王慧讲师

企业导师:

郝传政工程师

 

二〇一五年五月

Java2MicroEditionandtheWorldofJava

1.Introduction

Thecomputerrevolutionofthe1970sincreasedthedemandforsophisticatedcomputersoftwaretotakeadvantageoftheever-increasingcapacityofcomputerstoprocessdata.TheCprogramminglanguagebecamethelinchpinthatenabledprogrammerstobuildsoftwarethatwasjustasrobustasthecomputeritranon.

Asthe1980sapproached,programmerswerewitnessinganotherspurtintheevolutionofprogramminglanguage.ComputertechnologyadvancedbeyondthecapabilitiesoftheCprogramminglanguage.Theproblemwasn’tnew.Itoccurredpreviouslyandcausedthedemiseofgenerationsofprogramminglanguages.Theproblemwasthatprogramswerebecomingtoocomplicatedtodesign,write,andmanagetokeepupwiththecapabilitiesofcomputers.ItwasaroundthistimethatadesignconceptbasedonSimula67andSmalltalk(fromthelate1960s)movedprogrammingtothenextevolutionarystep.Thiswastheperiodwhenobject-orientedprogramming(OOP),andwithitanewprogramminglanguagecalledC++,tookprogrammersbystorm.

In1979,BjarneStroustrupofBellLaboratoriesinNewJerseyenhancedtheCprogramminglanguagetoincludeobject-orientedfeatures.HecalledthelanguageC++.(The++istheincrementaloperatorintheCprogramminglanguage.)C++istrulyanenhancementoftheCprogramminglanguage,anditbeganasapreprocessorlanguagethatwastranslatedintoCsyntaxbeforetheprogramwasprocessedbythecompiler.

Stroustrupbuiltontheconceptofaclass(takenfromSimula67andSmalltalk),fromwhichinstancesofobjectsarecreated.Aclasscontainsdatamembersandmemberfunctionsthatdefineanobject’sdataandfunctionality.Healsointroducedtheconceptofinheritance,whichenabledaclasstoinheritsomeoralldatamembersandmemberfunctionsfromoneormoreotherclasses—allofwhichcomplementstheconceptsofobject-orientedprogramming.By1988,ANSIofficialsstandardizedStroustrup’sC++specification.

2.EnterJava

JustasC++wasbecomingthelanguageofchoiceforbuildingindustrial-strengthapplications,anothergrowthspurtintheevolutionofprogramminglanguagewasbudding,fertilizedbythelatestdisruptivetechnology—theWorldWideWeb.TheInternethadbeenawell-keptsecretfordecadesbeforetheNationalScienceFoundation(whooversawtheInternet)removedbarriersthatpreventedcommercialization.Until1991whenitwasopenedtocommerce,theInternetwasthealmostexclusivedomainofgovernmentagenciesandtheacademiccommunity.Oncethebarriertocommercializationwaslifted,theWorldWideWeb—oneofseveralservicesofferedontheInternet—becameavirtualcommunitycenterwherevisitorscouldgetfreeinformationaboutpracticallyanythingandbrowsethroughthousandsofvirtualstores.

BrowserspowertheWorldWideWeb.AbrowsertranslatesASCIItextfileswritteninHTMLintoaninteractivedisplaythatcanbeinterpretedonanymachine.AslongasthebrowseriscompatiblewiththecorrectversionofHTMLandHTTPimplementation,anycomputerrunningthebrowsercanusethesameHTMLdocumentwithouthavingtomodifyitforaparticulartypeofcomputer,whichwassomethingunheardofatthetime.ProgramswritteninCorC++aremachinedependentandcannotrunonadifferentachineunlesstheprogramisrecompiled.

TheccessoftheInternetgaverenewedfocustodevelopingamachine-independentprogramminglanguage.AndthesameyeartheInternetwascommercialized,fivetechnologistsatSunMicrosystemssetouttodojustthat.JamesGosling,PatrickNaughton,ChrisWarth,EdFrank,andMikeSheridanspent18monthsdevelopingtheprogramminglanguagetheycalledOak,whichwasrenamedJavawhenthisnewlanguagemadeitsdebutin1995.Javawentthroughnumerousiterationsbetween1991and1995,duringwhichtimemanyothertechnologistsatSunmadesubstantialcontributionstothelanguage.TheseincludedBillJoy,ArthurvanHoff,JonathanPayne,FrankYelin,andTimLindholm.

AlthoughJavaiscloselyassociatedwiththeInternet,itwasdevelopedasalanguageforprogrammingsoftwarethatcouldbeembeddedintoelectronicdevicesregardlessofthetypeofCPUusedbythedevice.ThisisknownastheEmbeddedJavaplatformandisincontinuoususetodayforclosedsystems.

TheJavateamfromSunsucceededincreatingaportableprogramminglanguage,somethingthathadeludedprogrammerssincecomputerswerefirstprogrammed.Theirsuccess,however,wasfarbeyondtheirwildestdreams.ThesameconceptusedtomakeJavaprogramsportabletoelectronicdevicesalsocouldbeusedtomakeJavaprogramsrunoncomputersrunningMicrosoftWindows,UNIX,andMacintosh.Timingwasperfect.TheInternet/intranethadwhettedcorporateAmerica’sappetiteforcost-effective,portableprogramsthatcouldreplacemission-criticalapplicationswithinthecorporation.AndJavahadprovenitselfasaprogramminglanguageusedtosuccessfullydevelopmachine-independentapplications.

3.JavaVirtualMachine

WritingJavaprogramsissimilartowritingC++programsinthattheprogrammerwritessourcecodethatcontainsinstructionsintoaneditor,orinanintegrateddevelopmentenvironment,andthenthesourcecodeiscompiled.However,that’swhereJavaandC++partways.ThecompilingandlinkingprocessofaC++programresultsinanexecutablethatcanberunonanappropriatemachine.Incontrast,theJavacompilerconvertsJavasourcecodeintobytecodethatisexecutedbytheJavaVirtualMachine(JVM).

Machine-specificinstructionsarenotincludedinbytecode.Instead,theyalreadyresideintheJVM,whichismachinespecific.ThismeansthatthebytecodemightcontainfewerinstructionsthatneedtobetranslatedthanacomparableC++program.

AlthoughtheJavacompilergeneratesbytecodethatmustbeinterpretedbytheJVMatruntime,thenumberofinstructionsthatneedtranslationareusuallyminimalandhavealreadybeenoptimizedbytheJavacompiler.

4.BacktotheFuture:

J2ME

RememberthatJavabeganasaprogramminglanguagetocreateprogramsforembeddedsystems—microcomputersfoundinconsumerandindustrialproductssuchasthoseusedtocontrolautomobilesandappliances.ThedevelopmentteamatSunworkedonJavaintheearly1990stoaddresstheprogrammingneedsofthefledglingembeddedcomputermarket,butthateffortwassidetrackedbymorecompellingopportunitiespresentedbytheInternet.

Asthoseopportunitieswereaddressed,anewbreedofportablecommunicationsdevicesopenedotheropportunitiesattheturnofthecentury.CellphonesexpandedJ2ME:

TheCompleteReferencefromvoicecommunicationsdevicestovoiceandtextcommunicationsdevices.Pocketelectronictelephonedirectoriesevolvedintopersonaldigitalassistants.Chipmakerswerereleasingnewproductsatthistimethatweredesignedtotransfercomputingpowerfromadesktopcomputerintomobilesmallcomputersthatcontrolledgaspumps,cabletelevisionboxes,andanassortmentofotherappliances.

ThetimewasrightforthenextevolutionofJava.However,insteadofbeefingupJavawithadditionalAPIs,theteamatSun,alongwiththeJavaCommunityProcessProgram,dismantledboththeJavaprogramminglanguageandtheJavaVirtualMachine.TheystrippeddownJavaAPIsandtheJVMtotheminimumcodingrequiredtoprovideintelligencetoembeddedsystemsandmicrocomputerdevices.Thiswasnecessarybecauseofresourceconstraintsimposeduponthehardwaredesignofthesedevices.TheresultoftheireffortsisJ2ME.J2MEisareducedversionoftheJavaAPIandJavaVirtualMachinethatisdesignedtooperatewithinthesparseresourcesavailableinthenewbreedofembeddedcomputersandmicrocomputers.

5.HowJ2MEIsOrganized

Traditionalcomputingdevicesusefairlystandardhardwareconfigurationssuchasadisplay,keyboard,mouse,andlargeamountsofmemoryandpermanentstorage.However,thenewbreedofcomputingdeviceslackshardwareconfigurationcontinuityamongdevices.Somedevicesdon’thaveadisplay,permanentstorage,keyboard,ormouse.Andmemoryavailabilityisinconsistentamongsmallcomputingdevices.ThelackofuniformhardwareconfigurationamongthesmallcomputingdevicesposesaformidablechallengefortheJavaCommunityProcessProgram,whichischargedwithdevelopingstandardsfortheJVMandtheJ2MEforsmallcomputingdevices.

J2MEmustservicemanydifferentkindsofsmallcomputingdevices,includingscreenphones,digitalset-topboxesusedforcabletelevision,cellphones,andpersonaldigitalassistants.ThechallengefortheJavaCommunityProcessProgramistodevelopaJavastandardthatcanbeimplementedonsmallcomputingdevicesthathavenonstandardhardwareconfigurations.TheJavaCommunityProcessProgramhasusedatwofoldapproachtoaddressingtheneedsofsmallcomputingdevices.First,theydefinedtheJavarun-timeenvironmentandcoreclassesthatoperateoneachdevice.Thisisreferredtoastheconfiguration.AconfigurationdefinestheJavaVirtualMachineforaparticularsmallcomputingdevice.Therearetwoconfigurations,oneforhandhelddevicesandtheotherforplug-indevices.Next,theJavaCommunityProcessProgramdefinedaprofileforcategoriesofsmallcomputingdevices.Aprofileconsistsofclassesthatenabledeveloperstoimplementfeaturesfoundonarelatedgroupofsmallcomputingdevices.

6.J2MEconfigurations

TherearetwoconfigurationsforJ2MEasofthiswriting.TheseareConnectedLimitedDeviceConfiguration(CLDC)andtheConnectedDevice

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

当前位置:首页 > 法律文书 > 调解书

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2