Chapter 10 Object-Oriented Modeling Prerequisites for Part II hapter 5 Arrays Chapter 6 Objects and Classes You can cover GUI after Chapter 8 Chapter 8 Inheritance and Polymorphism >Chapter 11 Getting Started with GUI Programming hapter 9 Abstract Classes and Interfaces Chapter 12 Event-Driven Programming Chapter 15 Exceptions and Assertions You can cover Exceptions and 1o after Chapter 8 Chapter 16 Simple Input and output Introduction to Java Programming, revised by Dai-kaiyu
Liang,Introduction to Java Programming,revised by Dai-kaiyu 1 Chapter 10 Object-Oriented Modeling Prerequisites for Part II Chapter 6 Objects and Classes Chapter 7 Strings Chapter 8 Inheritance and Polymorphism Chapter 5 Arrays Chapter 9 Abstract Classes and Interfaces Chapter 10 Object-Oriented Modeling Chapter 11 Getting Started with GUI Programming Chapter 12 Event-Driven Programming Chapter 15 Exceptions and Assertions Chapter 16 Simple Input and Output You can cover Exceptions and I/O after Chapter 8 You can cover GUI after Chapter 8
Objectives o To become familiar with the process of program development (§10.2) o To the relationship types: association, aggregation, composition, strong inheritance, and weak inheritance(810.3) o To declare classes to represent the relationships among the classes (§10.3) o To design systems by identifying the classes and discovering the relationships among these classes(8 10.4) o To implement the Rational class and process rational numbers using this class(§10.5) o To design classes that follow the class-design guidelines(8 10.6) To model dynamic behavior using sequence diagrams and statechart diagrams($ 10.7 Optional o to know the concept of framework-based programming using Java API(§108) Introduction to Java Programming, revised by Dai-kaiyu
Liang,Introduction to Java Programming,revised by Dai-kaiyu 2 Objectives ⚫ To become familiar with the process of program development (§10.2). ⚫ To the relationship types: association, aggregation, composition, strong inheritance, and weak inheritance (§10.3). ⚫ To declare classes to represent the relationships among the classes (§10.3). ⚫ To design systems by identifying the classes and discovering the relationships among these classes (§10.4). ⚫ To implement the Rational class and process rational numbers using this class (§10.5). ⚫ To design classes that follow the class-design guidelines (§10.6). ⚫ To model dynamic behavior using sequence diagrams and statechart diagrams (§10.7 Optional) ⚫ To know the concept of framework-based programming using Java API (§10.8)
Software Development Process Requirement Specification Analysis System Design -Implementation Testi Deployment Maintenance Introduction to Java Programming, revised by Dai-kaiyu
Liang,Introduction to Java Programming,revised by Dai-kaiyu 3 Software Development Process Requirement Specification System Analysis System Design Testing Implementation Maintenance Deployment
Requirement specification a formal process that seeks to Requirement Specification understand the problem and document in detail what the analysis software system needs to do. This System phase involves close interaction Design between users and designers -Implementation Most of the examples in this book- Testing simple, and their requirements are clearly stated. In the real world, Deployment however, problems are not well defined. You need to study a problem Maintenance carefully to identify its requirements Liang, Introduction to Java Programming, revised by dai-kaiyu
Liang,Introduction to Java Programming,revised by Dai-kaiyu 4 Requirement Specification Requirement Specification System Analysis System Design Testing Implementation Maintenance Deployment A formal process that seeks to understand the problem and document in detail what the software system needs to do. This phase involves close interaction between users and designers. Most of the examples in this book are simple, and their requirements are clearly stated. In the real world, however, problems are not well defined. You need to study a problem carefully to identify its requirements
System Analysis Requirement Specification Seeks to analyze the business A process in terms of data flow, and System Analysis to identify the systems input and Syst outp Design Implementation Part of the analysis entails modeling i Testing the systems behavior. The model is intended to capture the essential Deployment elements of the system and to define services to the system Maintenance Introduction to Java Programming, revised by Dai-kaiyu
Liang,Introduction to Java Programming,revised by Dai-kaiyu 5 System Analysis Requirement Specification System Analysis System Design Testing Implementation Maintenance Deployment Seeks to analyze the business process in terms of data flow, and to identify the system’s input and output. Part of the analysis entails modeling the system’s behavior. The model is intended to capture the essential elements of the system and to define services to the system
System Des y gn Requirement Specificatie The process of designing the A system s components ster nalysis Syste Implementation This phase involves the use of many levels of abstraction to decompose Testing the problem into manageable components, identify classes and Deployment interfaces. and establish relationships among the classes and Maintenance interfaces Liang, Introduction to Java Programming, revised by Dai-kaiyu
Liang,Introduction to Java Programming,revised by Dai-kaiyu 6 System Design Requirement Specification System Analysis System Design Testing Implementation Maintenance Deployment The process of designing the system’s components. This phase involves the use of many levels of abstraction to decompose the problem into manageable components, identify classes and interfaces, and establish relationships among the classes and interfaces
Implementation Requirement Specification The process of translating the system design into programs System Separate programs are written for Ar nalysIs each component and put to work System together A -Implementation This phase requires the use of a Testing programming language like Java The implementation involves Deployment coding, testing, and debugging Maintenance Introduction to Java Programming, revised by Dai-kaiyu
Liang,Introduction to Java Programming,revised by Dai-kaiyu 7 Implementation Requirement Specification System Analysis System Design Testing Implementation Maintenance Deployment The process of translating the system design into programs. Separate programs are written for each component and put to work together. This phase requires the use of a programming language like Java. The implementation involves coding, testing, and debugging
Testin Requirement Specification Ensures that the code meets the equirements specification and System Analysis weeds out bugs Implementati Testins An independent team of software engineers not involved in the design and implementation of the project Deployment usually conducts such testing Maintenance Introduction to Java Programming, revised by Dai-kaiyu
Liang,Introduction to Java Programming,revised by Dai-kaiyu 8 Testing Requirement Specification System Analysis System Design Testing Implementation Maintenance Deployment Ensures that the code meets the requirements specification and weeds out bugs. An independent team of software engineers not involved in the design and implementation of the project usually conducts such testing
Deployment Requirement Specification Deployment makes the project avallable for use Analysis Design Implementation Testing For a Java applet, this means installing it on a Web server; for a --- Deployment Java application, installing it on the client's computer Maintenance Introduction to Java Programming, revised by Dai-kaiyu
Liang,Introduction to Java Programming,revised by Dai-kaiyu 9 Deployment Requirement Specification System Analysis System Design Testing Implementation Maintenance Deployment Deployment makes the project available for use. For a Java applet, this means installing it on a Web server; for a Java application, installing it on the client's computer
Maintenance Requirement Specification Maintenance is concerned with changing and improving the System Analysis product Design Implementation A software product must continue to Testing perform and improve in a changing Deployment environment. This requires periodic upgrades of the product to fix newly Maintenance discovered bugs and incorporate changes Liang, Introduction to Java Programming, revised by Dai-kaiyu
Liang,Introduction to Java Programming,revised by Dai-kaiyu 10 Maintenance Requirement Specification System Analysis System Design Testing Implementation Maintenance Deployment Maintenance is concerned with changing and improving the product. A software product must continue to perform and improve in a changing environment. This requires periodic upgrades of the product to fix newly discovered bugs and incorporate changes