JSP ??????? - PowerPoint PPT Presentation

About This Presentation
Title:

JSP ???????

Description:

Unified Model Language UML . 6 2550 – PowerPoint PPT presentation

Number of Views:52
Avg rating:3.0/5.0
Slides: 25
Provided by: Burin6
Category:
Tags: jsp | class | diagrams | sequence

less

Transcript and Presenter's Notes

Title: JSP ???????


1
Unified Model Language
UML
???????? ??????????? . ???????? 6 ???????? 2550
????????????????? http//www.nation.ac.th
2
????????
UML (Unified Modeling Language)
??????????????????????????????????????????????????
??? ?????????????????????????????????
??????????????????????????????????????????????????
??????? ??????????????????????????????????? OOP
(Object Oriented Programming) ???????????????
Notation ???????????????????????????????
??????????????????????????????????????????
(Coding) ????????????? UML ?????????????????????
Notation ???? generalize, association,
dependency, class ??? package ????????????????????
????????????????????????? ???????? Implement
???????????
3
Meaning
The UML is a complete language that is used to
design, visualize, construct and document
systems. It is largely based on the
object-oriented paradigm and is an essential tool
for developing robust and maintainable software
systems.
????????? http//www.visualcase.com/kbase/what_is_
the_uml_.htm
4
?????????? UML ??? 3 ????
3 ?????????????????? Rational Rose Corporation
1. Grady Booch ?????????????????????? Booch
method ???????????????????????????????? ??
Diagram ???????????????????? ?????????????????????
????????????? ????????????????????? digram
??????? ????????????? Booch ??????????????????????
? Micro ??? Micro Development ????????????????????
????????????????? Iteration and Incremental
Process 2. Jame Rumbaugh Object modeling
Techniques(OMT) ????????????????????????????
General Eletric ??????????????????????? Jame
Rumbaugh ??????????????????????? ???????????
Object Model, Dynamic Model, Functional Model,
Use-case Model 3. Ivar Jacobson Object
Oriented Software Engineer(OOSE)
????????????????????????????? Requirement ????
??????????????????????? Use-Case Model ????
Use-Case Model ??? ???????????????????????????????
?????
5
??????????? UML
???????????????????? (UML Advantage) 1.
????????????????????????? (Shortest Development
life cycle) 2. ??????????? (Increase
productivity) 3. ???????????????????????
(Improve software quality) 4. ???????????????????
??? (Support legacy system) 5.
?????????????????????????? (Improve team
connectivity)
6
????????????? UML
UML ?????????? 3 ???????? ??? Things,
Relationships ??? Diagrams 1. Things 4 ??????
??? Structural things, Behavioral things, Group
things ??? Annotational things 2. Relationships
3 ?????? ??? Meaning, Structural ???
Generalized/Specialized 3. Diagrams 6 ??????
??? Use case, Static strucure, Interaction,
State, Activity ??? Implementation
7
1.1 Structural things
?????????????????? ???????????????????????????????
?? ? 1.1.1 Logical things ???? class, interface,
collaboration, use case, active class 1.1.2
Physical things ???? component ??? node
8
1.1.1 Logical things
Class
9
1.1.2 Physical things
10
1.2 Behavioral things
????????????????? 1. Interaction ?????????????????
?????????? ?????? ?????????????????????? 2.
State machine ????????????? ???????? ??????
?????????????????????????????????
11
1.3 Group things
Package ????????????????? ?????? ?????????? 2
???????????????? ?????????????????????????????????
????
12
1.4 Annotational things
Annotation ?????????????????????????????????? ????
?? ????????????????????????????????
13
2.1 Meaning
???????????????????????????????? 1.
Dependency ???????????????????????????????????????
???????????(Change to one thing will affect the
other) ?????????? ?????????????????????????? 2.
Realization ??????????????????????????????????????
????? (A specification of a constract between two
entities) ?????????? ??????????????????????????
14
2.2 Structural
Association ?????????????????????????? one to
many ???? one to one (Set of links between
objects) ?????????? ??????????? 0..1 ???? 0..
??????????? ???????????????????????
????????? http//www.visualcase.com/kbase/associat
ions.htm
15
2.3 Generalized/Specialized
Generalized ?????????????????????? (Used for
inheritance) ?????????? ???????????????????????
?????????
????????? http//www.visualcase.com/kbase/generali
zation.htm
16
3.1 Use Case Diagram
??????????????????????????????? ???????????
???????????????? The use case diagrams describe
system functionality as a set of tasks that the
system must carry out and actors who interact
with the system to complete the tasks.
????????? http//www.visualcase.com/kbase/visual_c
ase.htm
17
3.2 Class Diagram
??????????????????????????? The class diagram
is core to object-oriented design. It describes
the types of objects in the system and the static
relationships between them.
18
3.3 Object Diagram
????????????????????????????
19
3.4 Sequence Diagram
???????????????????????? Sequence diagrams
belong to a group of UML diagrams called
Interaction Diagrams. Sequence diagrams describe
how objects interact over the course of time
through an exchange of messages. A single
sequence diagram often represents the flow of
events for a single use case.
20
3.5 Collaboration Diagram
????????????????? ????????????????????????????????
?? Collaboration diagrams belong to a group of
UML diagrams called Interaction Diagrams.
Collaboration diagrams, like Sequence Diagrams,
show how objects interact over the course of
time. However, instead of showing the sequence
of events by the layout on the diagram,
collaboration diagrams show the sequence by
numbering the messages on the diagram. This
makes it easier to show how the objects are
linked together, but harder to see the sequence
at a glance.
21
3.6 State Diagram
????????????????? ???? New, Ready, Running,
Blocked, Halted State diagrams show the dynamic
behaviour of a system. The diagram shows the
various states that an object can get into and
the transitions that occur between the states.
22
3.7 Activity Diagram
???????????????????? (Workflow) Activity
diagrams are a variation of state diagrams which
show the sequence of activity states (states that
are doing something). The diagram can show
conditional and parallel behaviour.
23
3.8 Component Diagram
?????????????????????????????????? ????
?????????????????????????? ????????????????????
Component diagrams show how the physical
components of a system are organized. A component
is a distributable unit of software. The
component diagram allows you to combine
deployment nodes with components to show which
components run on each node (i.e. hardware).
24
3.9 Deployment Diagram
?????????????????????? HW/SW A deployment diagram
serves to model the hardware used in system
implementations, the components deployed on the
hardware, and the associations between those
components.
????????? http//www.visualcase.com/kbase/visual_c
ase.htm????????? http//en.wikipedia.org/wiki/Dep
loyment_diagram
Write a Comment
User Comments (0)
About PowerShow.com