Title: UML????????? ???????????????
1UML????????????????????????
- ????,?????,???,????
- (????)
2????????
- ????????????????????,????????????1
- ???????????????
- ???????????
- ?????????
- ????????(?????)???
- ????????
- ???????????(Model refactoring)?????
- ?????????
1 M.Fowler, RefactoringImproving the Design of
Existing Code, Addison Wesley,1999
3???????????
- ?????????????????????,?????????????? 2
- ??????????????????????
- UML????????????????????????
- ???????????????????????????????? 3
Employee
???????
Developer
Programmer
Developer
Programmer
2 T.Mens,G.Taentzer,and D.Muller, Challenges in
Model Refactoring, Proc. WOOR 2007. 3 D.
Astels, Refactoring with UML, Proc. International
Conference on eXtreme Programming and Flexible
Process in Software Engineering, 2002.
4????????
- ????????????????????,???????????4
- ????????????????????????
- ?????????????????????
- ????????????????????
4 E.Gamma,R.Helm,R.Johnson,and
J.Vlissides.Design Patterns Elements of
Reusable Object-Oriented Software.Addison
Wesley,1999.
5????????????(1/2)
- ???GUI?????????
- ??????????,??GUI????????
????????
??
??
??
??
????
A? B? C?
?? 89 44 33
?? 88 99 29
?? 39 59 89
????
????
????
????GUI
???????GUI
???????GUI
????????????????????
6????????????(2/2)
- Observer???????
- ?????????,??????????GUI??????
????????
????
????
A? B? C?
?? 89 44 33
?? 88 99 29
?? 39 59 89
?? ??
?? ??
???????GUI
????GUI
???????GUI
???????????,??GUI??????????
7???????????UML???
(a)?????????
(b)?????????
?????????????? ? ??????????
Observer??????? ? ?????????
8?????????????????????????
- UML?????,???????????????????
- ??,?????????????????
- ??????????UML?????????????
- ????,?????????????????,????????
???????????????
9???????
- XML????????UML???????,?????
- (1) Observer???????????????????????
- (2) (1)????????????UML??????
- (3) UML?????????????????????????
??
????
??????????
???
UML?????
????????? ?UML???
10???????????????
XML???????,UML????XML???????
?????????????? ? ??????????
ltxmlgt ltClassgt ltname ToukeiDatagt
lt/Classgt ltClassgt ltname Hyougt
lt/Classgt ltAssociationDatagt
ltAssociationEndgt ltClassname
ToukeiDatagt ltAssociationEndgt
ltClassname Hyougt lt/AssociationDatagt lt/xmlgt
Seiseki
?????????
?????
ltGeneralizationDatagt ltParentClassgt
ltClassname ToukeiDatagt ltChildClassgt
ltClassname Hyougt lt/GeneralizationDatagt
Hyou
BouGraph
(a)UML???
(b)UML????XML??
11???????????????
XML???????,UML????XML???????
?????????????? ? ??????????
Seiseki
Hyou
BouGraph
(a)UML???
12??????????????????
- UML????????????????????????
- ??????????????????????????
- ?????UML??????????????
packageA
packageB
packageB
pacakgeB
packageC
XML??????? ???????
13????
- ??
- ??????????????????????????????
- ????
- ???????UML???
- 7???,1?????
- ???????????UML???
- 104???,12?????
- ?UML????????JUDE????UML????XML???????
14???????UML???
- ?????????????4
- ??TimeSource????ClockDriver????
- ???????
UML??????????????????? ????????????
(a) ??????
(b) ??????
4 R.C.Martin.Agile Software Development.Pearson
Education,2004
15???????UML???(1/2)
- 3????????????????????,??????????????????
- Action ????ActionForward ???
- Struts???????????????
- Kamoku ????Kyouikukatei ????
- ?2?????????????????????
- JugyouKamoku ????Gakusei ???
- ?2?????????????????????
16???????UML??? (2/2)
?????????????????????????
RishuuService????JugyouKamoku??? ?Gakusei?????????
?
17??
- ?????????????????????????????
- ??????????????????
- ?????????UML??????,?????????????????????
- ?????????????????
- Struts??????????????
- ???????????????????,???????????????
18?????????
- UML???????????????????????
- ?????????????????
- ???????????????
- ?????
- ????????????
- ??????????????????????????
- ???????????????????
- ??????????????????
- ??????????????????????