?? ?????? ????????? ???????? ? ??????? CBSE - PowerPoint PPT Presentation

About This Presentation
Title:

?? ?????? ????????? ???????? ? ??????? CBSE

Description:

Title: PowerPoint Presentation Author: Ian Sommerville Last modified by: Bogdan Shishedjiev Created Date: 5/18/2004 8:14:16 PM Document presentation format – PowerPoint PPT presentation

Number of Views:56
Avg rating:3.0/5.0
Slides: 49
Provided by: IanSo154
Category:
Tags: cbse | beans | corba | enterprise

less

Transcript and Presenter's Notes

Title: ?? ?????? ????????? ???????? ? ??????? CBSE


1
????????? ?????????? ??????? ?? ??????????
2
????
  • ?? ??????, ?? ???? ???? ? ???????? ? ????????????
    ?? ?????????? ?????????? ? ???????????? ?? ?
    ??????????.
  • ?? ????? ???????????? ? ???????? ??
  • ?? ?????? ????????? ???????? ? ??????? CBSE
  • ?? ?? ??????? ????????? ??? ???????????? ??
    ???????????? ? ??????????, ????? ????? ??
    ?????????.

3
????
  • ?????????? ? ?????? ?? ??????????
  • ???????? ?? CBSE
  • ?????????? ?? ??????????
  • Component composition

4
?????????? ???????? ?? ??????????
  • CBSE ? ?????? ?? ?????????? ?? ???????, ?????
    ?????? ?? ????????????? ??????????.
  • ???? ?????? ? ???????? ?? ???????? ?? ??
    ?????????????? ?? ???????? ?????????????
    ??????????. ?????????? ??????? ?? ?????? ????????
    ? ??????????.
  • ???????????? ?? ?? ?????????? ?? ????????? ??????
    ? ????? ?? ?? ?????????? ???? ?????????????
    ?????????? ?? ??????.

5
?????????? ???????? ?? CBSE
  • ?????????? ?????????? ????????????? ??
    ???????????? ??.
  • ????????? ?? ???????????? ?? ????????? ??
    ????????????? ?? ????????????.
  • Middleware ???????? ??????????, ?????
    ?????????? ??????????? ?? ???????????????? ?/?
    ????????????
  • ?????? ?? ??????????, ???????? ?? ?????? ??
    ??????????? ??????????

6
CBSE ?????????? ?? ???????????
  • ????? ?? ????????????? ??????????, CBSE ??
    ???????? ?? ??????? ????????
  • ???????????? ?? ?????????? ? ?? ?? ??????
  • ???????????? ?? ???????????? ? ??????
  • ????????????? ?? ???????? ???? ????? ??????????
    ??????????.
  • ??????????? ????????? ????????? ?? ?????? ????,
    ????? ????????? ????????? ?? ??????????.

7
???????? ??? CBSE
  • ?????? ?? ??????? ? ???????????? ??? ???? ?? ??
    ????? ? ?????????? ?? ?????????? ??? ???? ???.
  • ????????????? ?? ???????????? ??? ??
    ??????????? ?????????? ?? ?????????????
  • ??????????? ?? ???????????? ???????? ??? ?? ??
    ?????????? ???????????? (emergent) ???????? ??
    ????????????????? ?? ???????????
  • ????????? ?? ???????????? ??? ?? ???????????
    ??????? ????? ????????????? ?? ????????
    ???????????

8
??????????
  • ???????????? ???????? ?????? ???? ?? ? ??
    ????????, ???? ?? ????????? ???????????? ???
    ?????????? ????, ?? ????? ? ????????.
  • ???????????? ? ????????? ????????? ???????,,
    ????? ???? ?? ? ????????? ?? ???? ??? ??????
    ????????? ??????.
  • ??????????? ?? ?? ???????????? ? ???????? ?
    ?????? ?????????????? ?? ????????? ???? ????.

9
????????? ?? ??????????
  • Councill and Heinmann
  • A software component is a software element that
    conforms to a component model and can be
    independently deployed and composed without
    modification according to a composition standard.
  • Szyperski
  • A software component is a unit of composition
    with contractually specified interfaces and
    explicit context dependencies only. A software
    component can be deployed independently and is
    subject to composition by third-parties.

10
???????????? ???? ????????? ?? ??????
  • ???????????? ? ?????????? ????????? ???????. ?? ?
    ????? ?? ?? ????????? ????? ?? ?? ???????? ?
    ????? ??????????.
  • ?????? ?????????? ?????? ?? ???????? ????
    ????????? ? ?????? ?????????????? ? ????????????
    ?? ????????? ???? ???? ?????????.

11
?????????????? ?? ???????????? 1
12
?????????????? ?? ???????????? 2
13
?????????? ?? ????????????
  • ??????? ????????? (provides interface)
  • ???????? ????????, ????? ?? ???????? ????
    ?????????? ?? ???????????? ??? ????? ??????????.
  • ?????? ????????? (requires interface)
  • ???????? ????????, ????? ?????? ?? ?? ????????,
    ?? ?? ???? ???????????? ?? ?????? ??????
    ??????????????.

14
?????????? ?? ????????????
??????? ?????????
?????? ?????????
???????? ????????, ????????? ?? ????????????
???????? ???????? ?? ???????????? ??
????????????, ????? ?? ????????
Component
15
?????????? ?? ???????? ?? ?????
Provides int
er
face
Requires int
er
face
addSensor
removeSensor
sensorManagement
star
tSensor
Data collector
stopSensor
testSensor
sensorData
initialise
repor
t
listAll
16
?????????? ? ??????
  • ???????????? ?? ?????????????, ?????? ??
    ????????? ???????.
  • ???????????? ?? ????????? ??????
  • ???????????? ?? ???????????? ? ??????.
  • ???????????? ?? ?????????? ?? ?????.
  • ???????????? ?? ???????????????.

17
??????????? ?????
  • ???? ? ????????? ?? ????????? ?? ??????????,
    ???????????? ? ????????? ?? ????????????.
  • ??????? ?? ??????????? ??????
  • EJB model (Enterprise Java Beans)
  • COM model (.NET model)
  • Corba Component Model
  • ????????????? ????? ???????????, ??? ?????? ?? ??
    ???????? ??????????? ? ??????????, ????? ??????
    ?? ?? ??????? ? ???? ?????????.

18
???????? ?? ??????????? ?????
19
?????????? ???????
  • ????????????? ????? ? ?????? ?? ???????, ?????
    ????????? ??????????? ?? ?????????????
    ??????????.
  • ???? ??????? ??????????
  • ??????????? ??????, ????? ?????????? ??????????
    ???????? ???????? ?????? ?? ??????????? ???????
    ??.
  • ???????????? ?????? ?????????? ?? ????????????
    ??????, ?????????? ?? ?????????? ??????????
  • ?? ?? ????????? ???????? ?? ??????, ????????????
    ?? ??????? ? ?????????. ???? ? ????? ??
    ??????????, ?????????? ?? ?????? ?? ????????????
    ?? ???????? ?? ?????? ? ?? ?????? ?? ???????? ??
    ???????????? ?? ????? ??????????.

20
?????? ?? ???????????? ?????
21
?????????? ?? ?????????? ?? ??????????? ??????????
  • ?? ?? ?? ???????? ?? ??????????? ??????????,
    ????????????, ????? ?? ??????????? ?? ??????????
    ??????????, ?? ??????? ?? ??????????.
  • ???? ?????????? ? ??-???????? ?? ???????????
    ??????????, ??? ? ???????? ??? ????????
    ?????????? ?? ???????? ?? ?????????? (??????
    ??????).
  • ????????, ?? ???? ???????, ?????????? ??????????
    ?? ???????? ? ????????? ?????????????? ??????,
    ????????, ??????? ? ??.

22
?????????? ?? ?????????? ?? ??????????? ??????????
  • ???? ?????????? ????? ?? ?? ??????????? ?????????
    ???? ?????????? ?? ???????????? ??????.
  • ????????????? ???????????? ?????????? ??????
  • ?? ?? ???????? ?? ???????? ?????????? ??
    ????????
  • ?? ???? ????????????? ?? ???????????
  • ?? ???? ??????? ?? ???? ??-??????????
  • ?? ????????? ???????????? ???? ?????????? ??.
  • ??? ????????? ?/? ????????????? ? ?????????????
  • ??????? ??-??? ? ???????????, ??????? ??-????
    ?????????? ????? ?? ? ?????????, ?? ?????? ?
    ??-?????? ? ??-????? ??????????.

23
??????? ??????? ?? ??????????? ??????????.
  • ????????? ?? ???????????? ??????
  • ???????? ?? ??????? ? ??-????.
  • ??????? ?? ?????? ?? ?? ?? ??????? ????????????.
  • ??????????? ?? ???????????? ?? ?????
    ??????????????.
  • ?????? ?? ??????????????? ????????? ?? ?????????
  • ??????????? ?? ??????????? ??????????, ?? ?? ??
    ?????? ????????????.

24
?????????? ?? ????????? ?-??
  • ???????????? ?-??, ????? ?????????? ???????
    ?????? ??????? ????? ?? ?? ???????????? ????
    ?????????? ?? ??????????? ??????????.
  • ???? ?????????? ??????????? ?? ?????????
    (wrapper) ??????????, ????? ?????????
    ???????????? ?? ??????????? ?-??.
  • ????? ? ?????, ???? ???? ? ?? ????? ??-??????
    ????????? ?????????????? ?? ??????????? ?-??.

25
?????????? ?? ??????????? ??????????
  • ???????????? ?? ?????????? ?? ???????????
    ?????????? ???? ?? ? ??-????? ?? ???????????? ??
    ?????????? ??????. ???? ?????????? ?? ??????
    ?????? ?? ??-????? ?? ?????? ?? ?????????????,
    ????????? ?? ???????.
  • ?????????? ?????????? ???? ?? ?? ??-?????
    ?????????, ???? ?????????? ?? ????? ? ??????????
    ????? ?? ??????? ?????????? ???????????.

26
???????? ?? CBSE
  • ?????? ?? ????????? ?????? ??????????, ?
    ?????????? ?? ?? ??????? ????????? ?/? ?????????
    ?????????? ? ???????? ????????? ?? ??????????????
    ??????????.
  • ???? ???????
  • ?????????? ?? ????????????? ??????????
  • ??????? ?? ?????????? ? ???? ???? ??????? ??
    ???????????? ? ???????????? ??? ??????????????
    ??????????????.
  • ???? ??????? ?? ??-????? ??????????
    ??????????????? ?????? ??????????.

27
???????? ?? CBSE
28
?????? ?? ????????????? ?? ????????????
29
??????? ?? ??????????????? ?? ????????????
  • ???????. ?????? ?? ?? ??? ??????? ?? ??????????
    ?? ????????????. ? ???-?????? ?????? ?????????
    ?????????? ???? ?? ?????? ????? ? ? ?????????, ?
    ? ???-????? ?? ?????? ???????????.
  • ??????????. ???????? ????? ?? ??????????
    ?????????????? ???????? ??????????.
  • ??????????
  • ?????????????? ?? ???????????? ???? ?? ?? ?
    ?????????? ????????, ?? ?? ?? ?????????? ?????
    ???????.
  • ???????????? ????? ?? ???? ????????
    ??????????????. ??? ???? ?? ?? ?????? ???? ??
    ???? ?? ????? ?? ??????????? ???????????

30
???????? ??? ????????????? ?? Ariane
  • ???? 1996 ?. ?? ??????? ??????? ???? ??
    ??????????? ?? Ariane 5, ?????? ????????? ??
    ????????????? ?????? ?? ??????? 37 ???. ????
    ????????.
  • ????????? ???? ? ?????????? ?? ???????? ??????
    ?????????? ((the Inertial Navigation System),
    ????? ??????, ?????? ???????????????, ??? ?????
    ???? ???????????? ???????????? ?? ???? ????? ??
    Ariane 5.
  • ????????????????, ????? ???? ??????? ?? ?????, ??
    ?? ????????? ?? Ariane 5.

31
?????????? ?? ????????????
  • ?????? ?? ???????? ?? ???????????? ?? ?????????
    ?? ????????? ?-??.
  • ?? ??????? ??????????? ?? ???????????? ???? ?
    ????? ? ? ????????????????.
  • ???????? ?????? ?? ?? ???? "???????? ???" (glue
    code), ?? ?? ?? ??????? ????????????.

32
?????? ?? ??????????
  • ??????????????, ??? ????? ???????????? ??
    ????????? ??????????????. ???? ??????????
    ?????????? ?? ????????? ?????????? ?? ?????
    ??????????.
  • ??????????, ??? ????? ???? ?????????? ???????
    ???????? ?? ?????. ????????? ????????? ?? ??????
    ?????????? ?? ???????? ? ??????? ????????? ??
    ???????.
  • ????????, ?????? ???????????? ?? 2 ?????????? ??
    ??????? ?? ??????????? ?? ???? ??????????.

33
?????? ?? ??????????
34
?????????????? ?? ????????????
  • ?????????????? ?? ??????????? ?????????? ????
    ??????? ?????, ?? ???????? ??????.
  • ?????????????? ?? ?????????? ??????? ??
    ?????????? ? ???????????? ?????????? ?? ????????.
  • ????????????? ?? ?????????? ????????? ?????????
    ?? ?????? ?????????? ? ???????????? ?? ???????
    ????????? ?? ???????.

35
???????????? ??????????
36
?????????? - ????????
  • ?????? ?? ???????? ?? ???????? ??
    ???????????????? ???? ?????????? ????????????,
    ????? ?????? ?? ?? ???????.
  • ?? ?????????? ?????? ?????????? ?? ????? ????????
    ?????? ????????.
  • addressFinder ? mapper ????? ?? ?? ??????? ????
    ???????, ????? ??????? ????????? ??? ?? ????
    ????? ? ?? ?????? ?? ???????????? mapper.

37
?????????? ???? ???????
  • ???????????? postCodeStripper ? ???????, ?????
    ???????? ???????????????? ?????????? ??
    ???????????? addressFinder ? mapper.

38
??????? ?? ???????????? ?? ???????? ?? ?????
39
????????? ?? ??????????
  • ?? ?? ??????, ???? ?????????? ?? ?????????
    ?????????? ?? ???????????? ??????????, ??? ??????
    ?? ????????? ?? ??????????????.
  • ?? ?????????? ????????? ?? ??????????
    PhotoLibrary

40
?????????? ?? Photo library
41
???????????? ?? Photo Library
This method adds a photograph to the library and
associates the photograph identifier and
catalogue descriptor with the photograph. "?????
?? ?????? ??? ??????????????? ? ???? ?????????
??? ?????? ? ?????????????" "???? ?????????? ??
???????? ? ?????????? ?????? ????????, ???? ? ???
?????? ??????, ?.?. ??? ?????? ????????, ??
?????? ?? ? ???????????? ? ?????????"
42
Object Constraint Language (OCL)
  • Object Constraint Language ? ?????????? ??
    ???????? ????????????? ?????????? ? UML ????????.
  • ???????? ?? ?? ????????? ?? ???????????? ??? ?
    ???? ????????? ??????? ?? ????? Z.

43
???????? ???????? ?? ????-????????????
44
??????? ?? ????-????????????
  • ????? ? ???????? OCL ????????? ? ????????????
    Photo Library ?????,??
  • ?? ???? ?? ??? ?????? ? ???????????? ??? ?????
    ????????????? ????? ?? ????, ????? ?? ??????
  • ???????????? ?????? ?? ?????????? ??????????
    ??, ?? ??? ??????????? ?? ???????????? ?? ??????
    ???? ???????
  • ????? ??????? ??????? ????????? ??????? ??
    ???????????? ? 1
  • ??? ?????????, ???? ?????????? ?????
    ?????????????, ?? ???????? ????????, ????? ???
    ????????
  • ??? ??????? ? ????????, ??????????? ?????
    ?????????????, ?? ???????? ????????, ????? ???
    ???????.

45
?????????? ??? ????????????
  • ?????? ?????????? ??????????, ???? ?? ????????
    ????????? ?/? ?????????????? ? ????????????????
    ?????????? ? ????????? ?/? ??????? ?? ?????
    ??????????? ? ??????????????? ?? ?-????.
  • ?????? ?? ??????? ????? ??????? ????
  • ??? ?????????? ?? ?????????? ? ????????? ??
    ??????????? ?? ?????????????? ???????????
  • ??? ?????????? ?? ?????????? ????????? ??????
    ????????
  • ????? ?? ????? ???????????? ???????? ??
    ????????????? ?-???

46
???????? ?? ????? ? ?????????? ?? ??????
47
?????????
  • CBSE ? ??????, ??????? ?? ?????????????
    ?????????? ? ?? ???????????? ?? ????? ????????
    ?????????? ? ?-??.
  • ?????????? ? ????????? ???????, ?????
    ?????????????? ? ?????????? ?? ??????? ??????????
    ?? ???????????? ?.
  • ???? ??????????? ????? ???????? ????? ?????????,
    ????? ?????? ?? ?? ??????? ?? ???????????? ?
    ??????????? ?? ?-??.
  • ?? ????? ?? CBSE ???????, ????????? ??
    ??????????? ?? ???????????? ? ?? ????????????? ??
    ?-???? ?? ???????????.

48
?????????
  • ????????????? ?? ?-???? ? ?????? ?? "??????????"
    ?? ????????????, ?? ?? ?? ??????? ?-??
  • ?????? ?? ????????? ?????? ??????????, ??????????
    ?????? ?? ?? ????? ????????, ????? ??????????
    ???????????? ??.
  • ?????? ?? ??????? ??????????, ?????? ?? ?? ??????
    ??? ???????? ?????????????? ??????????,
    ???????????????? ?????????? ? ????????????? ??
    ???????? ?? ?-????.
Write a Comment
User Comments (0)
About PowerShow.com