Presentation is loading. Please wait.

Presentation is loading. Please wait.

Java Web 应用开发: J2EE 和 Tomcat 蔡 剑, Ph.D.. 本讲内容 信息系统实施的基本概念 面向对象的程序开发 Java 技术综述.

Similar presentations


Presentation on theme: "Java Web 应用开发: J2EE 和 Tomcat 蔡 剑, Ph.D.. 本讲内容 信息系统实施的基本概念 面向对象的程序开发 Java 技术综述."— Presentation transcript:

1 Java Web 应用开发: J2EE 和 Tomcat 蔡 剑, Ph.D.

2 本讲内容 信息系统实施的基本概念 面向对象的程序开发 Java 技术综述

3 Object Technology

4 What is OT?

5 What OT is Not?

6 Why OT?

7 Data and Function

8 Data, Function, Objects

9 Modeling and Coding

10 Modeling and Coding 2

11 Reuse

12 Reuse of Code

13 Language of Design, Analysis, and Programming

14 Avoid Miscommunication

15 Benefit Provided by Objects

16 Procedure Language

17 Object Approach

18 Procedure Language Example

19 COBOL Calling Structure

20 Object Calling Structure

21 Object Program Structure

22 Three OOP Principles Encapsulation: binds together code and the data it manipulates; keeps both safe from outside interference and misuse Inheritance: one object acquires the properties of another object Polymorphism: allows one interface to be used for a general class of actions

23 Encapsulation Public instance variables Private instance variables Private method Public method

24 Inheritance Automobile Car Truck Sedan SUV

25 Polymorphism

26 Unified Modeling Language Cname attr:Atype op(par:Type):Rtype class oname :Class[Role] object > association 联系 generalization 泛化 realization 实现 dependency 依赖 text notes interfacepackage actor use case 类 对象 标签 接口包 动作者 用例 (extends) (implements)

27 Java Language

28 Code Compile

29 Java Virtual Machine

30 JIT Compiler

31 Aims of Java


Download ppt "Java Web 应用开发: J2EE 和 Tomcat 蔡 剑, Ph.D.. 本讲内容 信息系统实施的基本概念 面向对象的程序开发 Java 技术综述."

Similar presentations


Ads by Google