JAVA语言程序设计-前言.ppt_第1页
JAVA语言程序设计-前言.ppt_第2页
JAVA语言程序设计-前言.ppt_第3页
JAVA语言程序设计-前言.ppt_第4页
JAVA语言程序设计-前言.ppt_第5页
已阅读5页,还剩32页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

JAVA语言程序设计,张晋豫,课程安排,平时成绩 30% 考勤: 点名和课堂问答 上机练习 期中测验 ? 期末成绩 70% 考试类型: 闭卷 上机安排 地点: 计算学院四层机房 时间: 前一次课程通知,教材 马迪芳等! 清华/北京交通大学出版社 提高教材 JAVA核心(第二版本) SUN MICROSYSTEMS JAVA丛书,课程提纲,参考资料,“Java程序设计与应用技术教程”,黄斐编著,21世纪高等院校计算机技术教学丛书(3),北京希望电子出版社 “Java程序设计”,唐大仕编著,北方交通大学出版社/清华大学出版社 “Java语言与面向对象程序设计”,印旻编著,清华大学出版社 “Java 2 参考大全”, Herbert Schildt, 有中译本,清华大学出版社,参考资料,进一步参考 The Java Tutorial, a practical guide for programmers, /docs/books/tutorial Thinking in Java, 2nd edition, Revision 11, 2000, Bruce Eckel, Thinking in Java, 3rd Edition Revision 4.0, Bruce Eckel “Java编程思想”,第2版,候捷译,计算机科学丛书,机械工业出版社 The Java Language Specification, 2nd Edition, James Gosling, Bill Joy, Guy Steele, Gilad Bracha,第一讲 JAVA概述,JAVA的发展 什么是JAVA? JAVA程序介绍 JAVA程序运行环境,JAVA的发展,早期的历史 1991年,Sun Microsystems公司建立“the Green Project”(Secretly),13个成员,目的开发消费电子类产品市场(嵌入式设备),初始选择C+语言 1992年夏天,一种全新的、对立于处理器的语言“Oak”, 产品*7设备,潜在的市场有线电视 Green TeamFirstPerson Team(70人),电视机顶盒/video-on-demand,市场不成熟 ? ? ? James Gosling, Bill Joy, and Eric Schmidt “why not the Internet?“ (WWW & Internet) 在Mosaic浏览器的基础上开发“WebRunner”浏览器,“Hollywood-meets-Silicon-Valley”的两个演示(3D动态分子、线排序) /features/1998/05/birthday.html,JAVA的发展,早期的历史 Java面世 1995年3月,“1.0a” 7/8份二进制拷贝,“1.0a2”源代码公布在Internet 下载数量和反馈邮件剧增 On May 23, 1995, John Gage, director of the Science Office for Sun Microsystems, and Marc Andreessen, cofounder and executive vice president at NetscapeTM, stepped onto a stage and announced to the SunWorld audience that JavaTM technology was real, it was official, and it was going to be incorporated into Netscape NavigatorTM, the worlds portal to the Internet.,JAVA的发展,历史记录 - Who,James Gosling: Green Team original, FirstPerson employee, original member Java Products Group, lead engineer and key architect of Java technology,Bill Joy: Cofounder and vice president, Sun Microsystems, Inc., principal designer of the University of California, Berkeley, version of the UNIX operating system,Eric Schmidt: Former Sun Microsystems chief technical officer, Former Novell chairman and CEO, Chairman of the Board and CEO, Google Inc.,JAVA的发展,历史记录,* 7: A new SPARC based, handheld wireless PDA, with a 5“ color LCD with touchscreen input,JAVA的发展,一些比较 C语言 1978年Brian Kernighan和Dennis Ritchie发表The C Programming Language,1989年12月美国国家标准化组织( ANSI )制定了C语言的标准 C+语言 1979年Bjarne Stroustrup发明了带类的C(C with Class),1983年改名为C+,1997年11月标准化 Java语言 1992年Jame Gosling等发明了原型Oak语言,1995年正式公布,目前标准化工作正在进行中JCP(Java Community Process),JAVA的发展,五年回顾(19962000) 1995年 May 23, Java technology launched 1996年 Jan 23, JDK 1.0 software release May 29, first JavaOne developer conference (JavaBeans, Java Media APIs, servlets, etc) July 10, 50,000 people attend Sun Java Day in Tokyo Aug 16, Sun/Addison-Wesley (The Java Tutorial and the first Java Language Specification) Sep, 83,000 Web pages have incorporated Java technology Oct 25, Sun announces first Just-In-Time (JIT) compiler for Java platform Oct 29, Java Card API announced Dec 9, JDK 1.1 beta software released,JAVA的发展,五年回顾(19962000) 1997年 Feb 18, JDK 1.1 release ships Mar 4, Java Web Server beta and Java Servlet Developers Kit software released Mar 10, Java Naming and Directory Interface (JNDI) API introduced Mar 11, More than 220,000 downloads of JDK 1.1 software in just three weeks Apr 2, JavaOne conference (10,000 attendees, the worlds largest developer conference), Enterprise JavaBeans technology Aug 5, Java Media and Communication APIs released Aug 5, More than 100,000 downloads of JavaBeans Development Kit software Sep 23, Java Developer Connection program has 100,000+ members,JAVA的发展,五年回顾(19962000) 1998年 Jan 20, JDK 1.1 software release downloads top 2 million Mar 24, JavaOne conference draws 15,000 Mar 31, Ericsson, Sony, Siemens, BEA, OpenTV and others license Java technology June 3, Visa launches worlds first smart card based on Visas Open Platform and Suns Java Card technology Nov 5, Sun works with Linux Community on Java 2 software port to Linux Dec 8, Java 2 platform ships,JAVA的发展,五年回顾(19962000) 1999年 Jan 13, Major consumer electronics manufacturers support Java technology for digital television Feb 24, Java 2 platform source code released Mar 4, XML support for Java platform unveiled Mar 27, Java HotSpot performance engine unveiled June 2, JavaServer Pages technology unveiled June 15, JavaOne developer conference draws 20,000 June 15, Sun announces three editions of Java platform: J2SE, J2EE, J2ME June 29, J2EE Reference Implementation Alpha ships Aug 25, J2SE version 1.3 beta software released Aug, The JavaPhone API specification included in an approved GSM standard by the European Telecommunications Standards Institute,JAVA的发展,五年回顾(19962000) 1999年 Sep 30, J2EE beta software released Dec 8, J2EE platform ships Dec 8, J2SE platform on Linux ships 2000年 Apr 19, J2EE platform licensed to Art Technology Group, BEA Systems, Compaq, Hitachi, SilverStream, Sybase, May, Membership in Java Developer Connection program tops 1.5 million May 8, Sun to work with Chinese TV industry to define interactive digital TV spec for China TV May 8, J2SE v. 1.3 platform released May 17, J2SE v 1.3 platform gains industry support from Apple with Mac OS X,JAVA的发展,新的发展(2000之后) /features/index.html,JAVA的发展,,JAVA的发展,,JAVA的发展,,JAVA的发展,,,第一讲 JAVA概述,JAVA的发展 什么是JAVA? JAVA程序介绍 JAVA程序运行环境,什么是JAVA?,JAVA Technology 编程语言(Programming Language) 运行平台(Platform),什么是JAVA?,JAVA编程语言的特点 简单(Simple) 面向对象(Object oriented) 解释性(Interpreted) 平台独立和可移植(Architecture neutral & Portable) 鲁棒和安全(Robust & Secure) 多线程(Multithreaded) 分布式(Distributed) 高性能(High performance) 动态(Dynamic),JAVA编程语言的特点 简单(Simple) 快速学习,具有C/C+相类似的语法 Java不存在指针 面向对象(Object oriented) 注重于数据和操作数据的方法,而不是流程 class类是数据和操作数据的方法的集合 类是层次化结构 解释性(Interpreted) Java编译器生成字节码,Java解释器执行字节码 链接过程简单,仅仅将新的类装载(load)入运行环境,什么是JAVA?,JAVA编程语言的特点 平台独立(Architecture neutral)和可移植(Portable) Java编译器产生的字节码(bytecode)可运行在异种网络环境中(不同的硬件系统和不同的操作系统) Java程序在不同的平台中行为一致,不存在数据类型的不一致等现象,什么是JAVA?,JAVA编程语言的特点 鲁棒(Robust)和安全(Secure) 可靠的语言: compile-time checking和run-time checking 内存管理简单,“new”构造对象,对象释放(automatic garbage collection) 网络环境的应用不会被产生入侵行为,为Java程序构造一个个(Sandbox),什么是JAVA?,JAVA编程语言的特点 多线程(Multithreaded) 例: 浏览器应用中,播听音乐/拖动页面/后台下载页面 线程类: java.lang.Thread/Runnable/ThreadGroup等 原语支持: synchronized、wait()、notify() 分布式(Distributed) 支持网络应用, .* HTTP应用: URL类 TCP应用: Socket类、ServerSocket类 UDP应用: DatagramSocket类、DatagramPacket类,什么是JAVA?,JAVA编程语言的特点 高性能(High performance) 解释性的语言,没有C语言快 “Just-In-Time” JIT编译器,在运行时将Java字节码转变为机器码 Java HotSpot Compilers 动态(Dynamic) Java语言在执行的链接(link)阶段是动态的 class类仅在需要时被链接 被链接的代码模块可以有不同的来源,从本地或从网络,什么是JAVA?,平台(Platform) 程序运行的硬件和软件环境 CPU、硬盘、内存、显卡、声卡、网卡等 操作系统: Windows、MacOS、UNIX (Linux/AIX/Solaris/HPUX) 操作系统与硬件的结合 JAVA运行平台(Platform) JAVA虚拟机(JVM: Java Virtual Machine) Java解释器Java开发工具或可运行applet的Web浏览器 JAVA应用编程接口(Java Application Programming Interface, Java API),什么是JAVA?,JAVA运行平台(Platform) J2SE Platform (Java 2 Standard Edition) Java Runtime Environment (JRE) Java虚拟机、库函数、运行Java应用程序和Applet所必须文件 Java 2 SDK (Development Kit)JRE的超集,包含编译器和调试器等用于程序开发的文件 JAVA虚拟机、JAVA应用编程接口和系统平台的关系,什么是JAVA?,JAVA平台的发展 Java Development Kit 1.0.2 1.1.1 1.1.6 1.1.7 1.1.8 1.2.1 Java 2 SDK 1.2.2 1.3.0 1.3.1 1.4.0 1.4.1 1.4.2 /products/archive/index.html JAVA平台的扩展 三个版本(1999.6) J2SE: Core/Desktop J2EE: Enterprise/Server J2ME: Mobile/Wireless,什么是JAVA?,J2SETM Platform Roadmap,Kestrel Cricket Merlin Hopper Mantis Tiger, quoted from Suns 2002 Worldwide Java Developer

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论