Package Diagram.

Slides:



Advertisements
Similar presentations
Object-Oriented Analysis and Design
Advertisements

1 © Wolfgang Pelz UML3 UML 3 Notations describe how to use reusable software. Package Component Deployment Node.
CS 425/625 Software Engineering System Models
WebDynpro for ABAP Short introduction.
Objectives Explain the purpose and objectives of object- oriented design Develop design class diagrams Develop interaction diagrams based on the principles.
Logical Architecture and UML Package Diagrams
Course Instructor: Aisha Azeem
Basic Concepts The Unified Modeling Language (UML) SYSC System Analysis and Design.
UNIT-V The MVC architecture and Struts Framework.
Objectives Design Class Diagrams Issues in system design Generalization Review UML papers.
The Design Discipline.
Logical Architecture and UML Package Diagrams 徐迎晓 复旦大学软件学院.
Systems Analysis and Design in a Changing World, Fifth Edition
1 CS 456 Software Engineering. 2 Contents 3 Chapter 1: Introduction.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 07. Review Architectural Representation – Using UML – Using ADL.
SWE © Solomon Seifu ELABORATION. SWE © Solomon Seifu Lesson 11 Subsystem Design.
Requirements To Design--Iteratively Chapter 12 Applying UML and Patterns Craig Larman.
Systems Analysis and Design in a Changing World, 3rd Edition
Chapter 13 Logical Architecture and UML Package Diagrams 1CS6359 Fall 2012 John Cole.
Architectural Patterns Support Lecture. Software Architecture l Architecture is OVERLOADED System architecture Application architecture l Architecture.
Modeling Component-based Software Systems with UML 2.0 George T. Edwards Jaiganesh Balasubramanian Arvind S. Krishna Vanderbilt University Nashville, TN.
Secure Systems Research Group - FAU SW Development methodology using patterns and model checking 8/13/2009 Maha B Abbey PhD Candidate.
1 CMPT 275 High Level Design Phase Modularization.
Relationships Relationships between objects and between classes.
Rational Unified Process Fundamentals Module 7: Process for e-Business Development Rational Unified Process Fundamentals Module 7: Process for e-Business.
UML Package Diagrams. Package Diagrams UML Package Diagrams are often used to show the contents of components, which are often packages in the Java sense.
Architecture View Models A model is a complete, simplified description of a system from a particular perspective or viewpoint. There is no single view.
1 Software Design Lecture What’s Design It’s a representation of something that is to be built. i.e. design  implementation.
Chapter 16 UML Class Diagrams 1CS6359 Fall 2012 John Cole.
Identifying classes, Packages and drawing class Diagrams, Object Diagrams and composite structure diagrams Week 07 1.
Object-Oriented Software Engineering Practical Software Development using UML and Java Modelling with Classes.
Object Oriented Analysis and Design Introduction to Rational Rose.
Introduction to OOAD and UML
Logical Architecture and UML Package Diagrams. The logical architecture is the large-scale organization of the software classes into packages, subsystems,
Elaboration popo.
Introduction to UML.
Design Patterns Source: “Design Patterns”, Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides And Created.
GRASP – Designing Objects with Responsibilities
Chapter 2: Database System Concepts and Architecture - Outline
PLM, Document and Workflow Management
N-Tier Architecture.
Course Outcomes of Object Oriented Modeling Design (17630,C604)
Object-Oriented Analysis and Design
Unified Modeling Language
OO Methodology OO Architecture.
Software Design and Architecture
Software Quality Engineering
CHAPTER 3 Architectures for Distributed Systems
The Object Oriented Approach to Design
Chapter 13 Logical Architecture.
Module 11: Packages Lawrence Chung CS6359.OT1: Module 11.
Figure 30.2 Layers in NextGen
Chapter 20 Object-Oriented Analysis and Design
Systems Analysis and Design in a Changing World, 6th Edition
Starting Design: Logical Architecture and UML Package Diagrams
Chapter 13 Logical Architecture.
UML profiles.
Analysis models and design models
Architecture Description Languages
An Introduction to Software Architecture
The Islamia University Bahawalpur
CHAPTER 9 (part a) BASIC INFORMATION SYSTEMS CONCEPTS
Chapter 11 user support.
Chapter 5.
Chapter 5 Architectural Design.
Chapter 22 Object-Oriented Systems Analysis and Design and UML
CIS 375 Bruce R. Maxim UM-Dearborn
T-FLEX DOCs PLM, Document and Workflow Management.
UML  UML stands for Unified Modeling Language. It is a standard which is mainly used for creating object- oriented, meaningful documentation models for.
Chapter 13 Logical Architecture.
Presentation transcript:

Package Diagram

Knowledge Graph

Agenda What is the package? How to read the package diagram? How to draw the package diagram? The introduction of package diagram application Summary

Agenda What is the package? How to read the package diagram? How to draw the package diagram? The introduction of package diagram application Summary

What is the Package In the perspective of object-oriented software development, the Class is obviously the basic building block of the whole system. But for large-scale systems, there are hundreds of Class, coupled with associations, multiplicity, etc., and it must be greatly beyond the people’s capacity due to the complexity. So, we introduce the concept of "package" to group the building blocks. The function of the package: 1)Group the elements that are related semantically (语义相关); 2)Define the “semantic boundary (语义边界)” in the model; 3)Provide configuration management unit; 4)Provide parallel operation units at the time of design; 5) Provide encapsulated namespaces where all names must be unique.

The Representation of the Package Name: Each package must have a name which should be distinguished from other packages. Element:There are various elements in the package,including classes, interfaces, components, nodes, collaboration, use cases, and even other packages or graphs.

Agenda What is the package? How to read the package diagram? How to draw the package diagram? The introduction of package diagram application Summary

Reading the Package Diagram The visibility of the package:the symbol“+” can represent “public”,the symbol“#” can represent “protected”,and the symbol “-” can represent“private”

The Dependency Types between Packages 《use》:This is a default dependency type between packages, indicating that the client packages (originator) use the public element provided by the provider packages (the packages pointed to by the arrow) in some way, that is the client package depends on the provider package. 《import》:This is a general dependency type between package, indicating that the provider's package namespace will be added to the client's package's namespace, and the elements in the client package will also be able to call all the public elements in the provider package.

The Dependency Types between Packages 《access》:This dependency type can only use the elements in the provider packages, but not merge the namespaces. 《trace》:This dependency type represent the development history of one package that evolve into another package.

The Reading Results of the Package Firstly, we can find the Client Package use the Server Package according to the dependency type of 《use》,Server Package use the System.Data.SqlClient Package. Comparing the elements, we can find that the Client takes charge of the input of the Order,and manages the LoggingService and DataBase through the Server. Also, the Server Package can implement the real interaction with the database by the tool of SQL Server in .NET. Secondly, as for the dependencies of 《import》, we can find the Rule takes charge of handing the rules according to the namespace of the package and the elements as well as call a specific Window,while the Client Package can implement the exhibition and the input by calling Rule and also store the information of Order.

The Reading Results of the Package Finally, as for the generalization between packages,we can find GUI has two specific implementations, one is WindowsGUI for C/S architecture, the other is the WebGUI for B/S 。

The Stereotype of the Package 《system》and《subsystem》:《system》represents the whole modeling system,while the《subsystem》represents a separate part of the modeling system. 《façade》:It is a view of another packages and it provides simple view of other complex packages. 《stub》:It is an agent package,which works for the common contents for other packages. Usually, it applied in the distributed system for modeling. 《framework》:It can represent a framework which is a application system in a domain and provide an extensive templates for architectural models.

Agenda What is the package? How to read the package diagram? How to draw the package diagram? The introduction of package diagram application Summary

The Principle of Drawing Package Diagram Minimizing the dependencies between packages; Minimizing the number of public、protected elements in every package; Maximizing the private elements in every package. There aren’t cycle dependencies between the packages, that is to say there aren’t interdependencies situation. As for this issue, we should analyze as follows:

Finding the Packages The workflow of the system analysis: 1) Connecting to the stock information server through the Internet, so as to get real-time stock information, and store in the database. 2)Finding the appropriate information in the dataset according to the user’s input and display them on the screen. 3)Drawing large number of graphs during the presentation of the data. Organize the Packages according to the function modules: Packages Analysis and Function .NET Supporting Package SocketClient 负责连接Internet服务器,获取实时股票信息 System.Net.Sockets DataAccess 负责从数据库读写实时股票信息 System.Data.Sqlclient UI 负责响应用户输入和选择,并展现信息 System.Windows.Forms GraphicGenerate 负责根据数据库的信息生成相应的图表 System.Drawing

Determining the Dependencies between Packages

Agenda What is the package? How to read the package diagram? How to draw the package diagram? The introduction of package diagram application Summary

Modeling group elements Each package should contain the elements that are similar in concepts and semantics; Finding out the pubic elements for each package, as small as possible ; Generally, we use the 《use》stereotype,and consider 《import》when mapping to the programming; Considering generalization to model special packages; In the presentation of the model, we should only pay attention to the elements which have core roles in the packages and identify tag values in each package document to make it more clear.

Modeling the Architecture Modeling the architecture is a more meaningful use of the package. The architecture is the core logical structure of a software system. The architecture patterns used commonly include hierarchical, MVC, pipes, black boards, micro-kernel, etc., and hierarchical and MVC in application software.

Agenda What is the package? How to read the package diagram? How to draw the package diagram? The introduction of package diagram application Summary

Summary First, we point out the shortcomings of the class diagram in the modeling of large-scale systems: the lack of effective organization, and then introduce the concept of "package”. After explaining several common representations of the packages, a simple example is used to illustrate the concept of packet visibility, dependency, generalization, etc. The architectures of the five packages are briefly described. Describing how to find and determine the dependencies between the packages so as to draw a package to show the fundamental structure of the software. We briefly introduce the modeling methods of system architecture.