Java第01章--1(前言)

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

JavaJavapenggang@mail.hust.edu.cn-JavaJava„JavaSunOOPCPU„Java„Java„“”„JavaUnixCPUOSCPUOSCJava„„Java¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾„JavaJavaEclipse(3.0)JCreator(3.0)JBuilder(9)ƒƒƒÆ1.5Æ1.6ƒj2sdk-1_4_2-windows-i586.exeÆjdk-1_5_0-windows-i586.exeƒj2sdk-1_4_2-doc.zipÆjdk-1_5_0-doc.chmƒƒƒEclipseIDE,NetBeansIDEƒ“JDKIDE”,,.20045JavaBruceEckel.THINKINJAVA.PrenticeHall.20022003Jolt,.Java..20029.JAVAIvorHorton..JAVA2..20034JDK1.4,H.M.Deitel,.Java(5)..20043.JavaKenArnold,JamesGosling,DavidHolmes,.Java..200312RitchieCStroustrupCCayS.HorstmannGaryCornell,.Java2/..200311,2„„.Java..20039„.Eclipse..20051Eclipse,Web,JDBC,MySQL„.JSP..20051JSPOracle„EffectiveJava2002Jolt„„TheSourceforJavaTMTechnology„„freeCode[++C/Java/Perl/VB]„„Jsp„~hall/java/CGI-with-Java.html„„Javabbs,„„„„„„„„„„=910&forumId=19„„„„„„“”ProgrammingLanguage——‰‰Assembler‰C/C++,Pascal‰:Perl,BasicShell1.1——“”“”:‰Compilation“”“Executable”‰“”Interpretation‰Java1.1——“”Compiler“”objectcode“”compiling“”executableprogram“”linking1.1——“”“”Interpreter“”“”“”“”“”“”‰FORTRAN(FORmularTRANslation)HPFIBM1950‰PascalN.Wirth1968(DelphiBorland)‰COBOL(COmmonBusinessOrientedLanguage)1960‰CC++DennisRetchie,1972;BjarneStroustrup,1983,Bell‰Basic(Beginner'sAll-purposeSymbolicInstructionCode)1964‰Ada,,1983‰Java1991SUNMicroSystem1.2JavaJavaCustomer’sElectronƒ1991SUNMicroSystemJameGoslingBillJoeOakƒƒSetSettopBoxtopBoxƒMCU,Intelƒƒ1994ƒJamesGosling„JavaJava„1991,MSDOS.„199148“Green”CEC++1992“Oak”JavaJameGoslingVM„StarSeven(*7)OakGreenOSUIPDASun„GreenFirstPersonTimeWarnerJavaVODVideo-On-DemandSun„1993,Mosaicv1.0—„1994„GoslingSunOK„„1995523SunJamesGoslingJava„TheSunJoseMercuryNewsJava“Oak”“Java”OAK„JavaSunworldJava1995„TIMEJava199510„“Let’smove,theyaremoved.”„JavaNetscapeWebJavaSunJavaScript„IBMAppleDECAdobeHPMicrosoftNovellOracleSGIBorlandToshiba„SunJavasoftJava„JavaFree„JavaJava„1996JavaOne„19961JDK1.01996410JAVA199698.3JAVA„1997218JDK1.122JDK1.1„8000JavaOne,,19979,JavaDeveloperConnection10„JavaCard2.0„19982JDK1.121998128JAVA2J2EEJDK1.2Java2,SwingAWT„VISAJavaCardJava„Java(JCPJavaCommunityProcess)„1999Java2JavaOne20,000„19996SUNJava(J2SE)(J2EE)(J2ME)„200058JDK1.3529JDK1.4„2000400Java„JavaOne,SteveJobsScottnMcNealyJava„JavaJava„2001JavaOne„JavaPlatformEnterpriseEdition(JavaEE)SDK„200165NOKIA20031Java„2001924J2EE1.3„2002226J2SE1.4Java„2002J2EESDK2„78%J2EE„20035.5Java75%JavaVoIP„2004Java2Platform,StandardEdition5(ProjectTiger)„200493018:00PMJ2SE1.5JavaJ2SE1.5J2SE5.0„Java„SunJavaStudioCreator„2005Java10„20056JavaOneSUNJavaSE6Java“2”J2EEJavaEE,J2SEJavaSEJ2MEJavaME„JavaJava„JavaSunMicrosystemsJamesGosling2090„Oak„SunOakInternetSunOakOak19955“Java”„JavaSunJava2&J2EEJavaJavaInternetInternet„450Java25JavaJava1000„.NETJavaC#„JavaInternet„C/C++„C++C++„„JavaPlatform2„JavaMEJavaMicroEditionJava„„JavaSEJavaStandardEditionJava„„JavaEEJavaEnterpriseEditionJava„J2ME„J2MEJava2API128K∼512K512K„realtimecontrolJavaC/C++„JavaJavaC/C++Java2IDEForteforJava//C/C++ESJ2SEJ2EE„J2EEJava2J2SE„J2EEEJBEnterpriseJavaBeanJavaServletAPIServletAPIApplicationProgrammingInterfaceJSPJavaServerPagesXML„J2EEJ2EE——J2EE——1.3JavaJavaJavaJavaSunJavaCPU“WriteOnce,RunAnywhere”Java1.ƒƒ#include#defineƒstructureuniontypedefƒƒƒgotoƒ(OperatiorOverloading)ƒƒ„KISSKeepitSimpleandStupid„40K175K„JavaC++C++C++OOPC++:¾¾¾JavaC++„„J2SE1.5JavaFor-Each/2.Java:„„„„JavaJava(.java)JavaJavaBytecode(.class)BytecodeBytecodeBytecodeƒclass(Bytecode)loaderƒBytecodeverifierƒruntimeinterpreter„„“”JavaInternet3.2080Java=“C++”“”+“”‰‰‰Java‰‰JavaC++Coding4.„Java„„p++;„„„„„Java“”C++2Robust„Java„C++newdelete,delete.„delete„Java„Internet——„80PDP11100——molis„Cgets8080…„5.„CPU“”„“”„Java“”“”„JVM„CrossPlatformFromCtoJava„C„JavaJVM„„sizeof„intdos,windowsBCVC„char8bits16bitsJava,Unicode„„JavaJava“”Java„1JVM„2„3JVM„stackmachineRAM„X86,MIPS,ARMregistermachineCPU„DRAM„J2SE1.4.2JITJust-in-timeJava„C++JavaC++„„„JavaSPARCpentiumPowerpcPowerpcpentiumSPARCJavaSPARCPowerpcpentiumPowerpcpentiumSPARCJava,,,Java(.java)JavaJavaBytecode(.class)BytecodeBytecode„JavaJVM(JavaVirtualMachine)Java„JavaJavaJavaInternetJavaCPUBytecodeJava:Interpreter()Just-in-time():.JavainterpreterJust-in-timecompilerRuntimeSystemOperatingSystemHardware„Java3:„JDKJavaDeveloper’sKit1.3Javajava.exe2„JITJust-In-TimeAOTAhead-Of-TimeCPUOS40%~60%3„JavaSunJavapicoJavaMicroprocessorcorepicoJavaIIIJavaJavaPentium10Java

1 / 66
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功