Académique Documents
Professionnel Documents
Culture Documents
Case Study Unified Modeling Language Documentation For Courier Management System
RGIT, MUMBAI
age !
De"art#ent o$ MCA%
Content
Page no 3 3 3 4 5 # 12 21 23 22#
Software Requirement Specification Activity Diagram !e "a!e Diagram $% &nteraction Diagram 'Sequence and "o((a)oration Diagram* State ",art Diagram $% "(a!! Diagram "omponent Diagram Dep(oyment Diagram
RGIT, MUMBAI
age &
De"art#ent o$ MCA%
'( Scope : '( )udience : C'sto#ers, Ad#inistrators, (ead o$$ice% 2( *rgani+ation : COURIER MANAGEMENT SYSTEM
RGIT, MUMBAI
age )
De"art#ent o$ MCA%
2( Soft,are -e.uirement Specification: System )bstract / T*e Co'rier #anage#ent s+ste# $acilitates t*e 'ser to send "arcel to international or local destination, stat's o$ deli,er+, #aintenance - retrie,al o$ records and #an+ #ore% T*e #ajor $'nctionalit+ o$ s+ste# is to allo. t*e c'sto#er to send "arcel, cancellation o$ order, stat's o$ deli,er+% It also "ro,ides t*e ad#inistrator to #odi$+ e/isting order or to introd'ce a ne. c'sto#er0s in t*e s+ste#% Major $eat'res "ro,ided b+ t*e s+ste# are1 Create Ne. Order T*e s+ste# allo.s t*e ad#in to create ne. order and order "ac2ets de"ending '"on t*e ser,ices i%e% International or 3ocal% Add C'sto#er It allo.s t*e ad#in to add a c'sto#er so t*at *e can send t*e "arcel% 4eri$+ and Sort T*e s+ste# allo.s t*e ad#in to ,eri$+ t*e "arcel $or calc'lation o$ c*arges and sort t*e "arcel on basis o$ t*e destination% Assign T*e $'nctionalit+ is 'sed b+ t*e ad#in to assign t*e "arcel to t*e deli,er+ "erson or send it to (ead O$$ice% C*ec2 Stat's T*e s+ste# allo.s t*e c'sto#er5ad#in to c*ec2 t*e stat's and trac2 t*e s*i"#ent o$ t*e "arcel% Cancellation T*e s+ste# allo.s t*e c'sto#er5ad#in to cancel t*e order i$ t*e order is not +et deli,ered% Transaction Re"ort T*e s+ste# allo.s t*e ad#in to generate t*e s'##ar+ re"ort o$ t*e order as .*en re6'ired%
RGIT, MUMBAI age 7 De"art#ent o$ MCA%
)% )cti0ity Diagram(
8 An Acti,it+ diagra# is a ,is'al re"resentation o$ an+ s+ste#9s acti,ities and $lo.s o$ data or decisions bet.een acti,ities% 8 Acti,it+ diagra#s "ro,ide a ,er+ broad ,ie. o$ a b'siness "rocess% 8 T*e+ re"resent t*e d+na#ics o$ a s+ste#% 8 T*e+ are $lo. c*arts t*at are 'sed to s*o. t*e .or2 $lo. o$ a s+ste#% 8 T*e+ s*o. t*e $lo. o$ control $ro# acti,it+ to acti,it+ in t*e s+ste#% 8 T*e+ s*o. .*at acti,ities can be done in "arallel, and an+ alternati,e "at*s t*ro'g* t*e $lo.% 8 'r"ose 8 Model b'siness .or2$lo.s 8 Model o"erations 8 Acti,it+ diagra#s co##onl+ contain 8 Acti,it+ states and action states 8 Transitions 8 Objects )ction States and )cti0ity States 8 Action states are ato#ic and cannot be deco#"osed :or2 o$ t*e action state is not interr'"ted 8 Acti,it+ states can be $'rt*er deco#"osed T*eir acti,it+ being re"resented b+ ot*er acti,it+ diagra#s T*e+ #a+ be interr'"ted 8 Re"resented in UM3 b+ a ro'nded rectangle%
8 Activity re"resents t*e "er$or#ance o$ so#e be*a,ior in t*e .or2 $lo.% ransitions 8 Transitions are 'sed to s*o. t*e "assing o$ t*e $lo. o$ control $ro# acti,it+ to acti,it+%
8 T*e+ are t+"icall+ triggered b+ t*e co#"letion o$ t*e be*a,ior in t*e originating acti,it+(
RGIT, MUMBAI age ; De"art#ent o$ MCA%
8 :*en t*e action or acti,it+ o$ a state co#"letes, $lo. o$ control "asses i##ediatel+ to t*e ne/t action or acti,it+ state 8 A $lo. o$ control *as to start and end at so#e "lace initial state << a solid ball sto" state << a solid ball inside a circle
!ranc"ing 8 :*en #odeling t*e .or2$lo. o$ a s+ste#, it is o$ten necessar+ to s*o. .*ere t*e $lo. o$ control branc*es based on a decision "oint%
8 T*e transition $ro# a decision "oint contain a g'ard condition% 8 T*e g'ard condition is 'sed to deter#ine .*ic* "at* $ro# t*e decision "oint is ta2en% 8 Decisions along .it* t*eir g'ard conditions allo. +o' to s*o. alternati,e "at*s t*ro'g* a .or2 $lo.( A branc* s"eci$ies alternate "at*s ta2en based on so#e Boolean e/"ression A branc* #a+ *a,e one inco#ing transition and t.o or #ore o'tgoing ones Sync"roni+ation !ars 8 In a .or2$lo. t*ere are t+"icall+ so#e acti,ities t*at #a+ be done in "arallel% 8 A s+nc*roni=ation bar allo.s +o' to s"eci$+ .*at acti,ities #a+ be done conc'rrentl+% 8 A s+nc*roni=ation bar #a+ *a,e > #an+ inco#ing transition and one o'tgoing transition, or > one inco#ing transition and #an+ o'tgoing transitions% 8 It is 'se to s"eci$+ t*e $or2ing and joining o$ "arallel $lo.s o$ control 8 A s+nc*roni=ation bar is rendered as a t*ic2 *ori=ontal or ,ertical line
8 A $or2 #a+ *a,e one inco#ing transitions and t.o or #ore o'tgoing transitions > eac* transition re"resents an inde"endent $lo. o$ control > conce"t'all+, t*e acti,ities o$ eac* o$ o'tgoing transitions are conc'rrent 8 eit*er tr'l+ conc'rrent ?#'lti"le nodes@ 8 or se6'ential +et interlea,ed ?one node@
RGIT, MUMBAI age A De"art#ent o$ MCA%
8 A join #a+ *a,e t.o or #ore inco#ing transitions and one o'tgoing transition > abo,e t*e join, t*e acti,ities associated .it* eac* o$ t*ese "at*s contin'es in "arallel > at t*e join, t*e conc'rrent $lo.s s+nc*roni=e 8 eac* .aits 'ntil all inco#ing $lo.s *a,e reac*ed t*e join, at .*ic* "oint one $lo. o$ control contin'es on belo. t*e join S,imlanes 8 S.i#lanes #a+ be 'sed to "artition an acti,it+ diagra#% 8 T*is $acilit+ allo.s acti,it+ diagra#s to e/"and and s*o. .*o *as t*e res"onsibilit+ $or eac* acti,it+ in a "rocess 8 A s.i#lane s"eci$ies a loc's o$ acti,ities 8 To "artition t*e acti,it+ states on an acti,it+ diagra# into gro'"s 8 eac* gro'" re"resenting t*e b'siness organi=ation res"onsible $or t*ose acti,ities 8 eac* gro'" is called a s.i#lane 8 Eac* s.i#lane is di,ided $ro# its neig*bor b+ a ,ertical solid line 8 Eac* s.i#lane *as a na#e 'ni6'e .it*in its diagra# 8 Eac* s.i#lane #a+ re"resent so#e real<.orld entit+ 8 Eac* s.i#lane #a+ be i#"le#ented b+ one or #ore classes 8 E,er+ acti,it+ belongs to e/actl+ one s.i#lane, b't transitions #a+ cross lanes T*e Acti,it+ Diagra# $or Co'rier Manage#ent s+ste# is as s*o.n in $ig 7%!
RGIT, MUMBAI
age B
De"art#ent o$ MCA%
Get Details
Cancel Order
!o
Parcel Details Fill Cancel Form Cancel Order $ocal "#pe? International
Return Packet
Dispatch
Clos e Order
T*e 'se<case conce"t .as introd'ced b+ I,ar Eacobson in t*e object<oriented so$t.are engineering ?OOSE@ #et*od% A 'se<case diagra# is a gra"* o$ actors, a set o$ 'se cases enclosed b+ a s+ste# bo'ndar+, co##'nication ?"artici"ation@ associations bet.een t*e actors and t*e 'se cases, and generali=ation a#ong t*e cases% Use case diagra#s s*o. *o. 'sers interact .it* t*e s+ste#% Use case diagra#s describe .*at a s+ste# does $ro# t*e stand"oint o$ an e/ternal obser,er% T*e e#"*asis is on what a s+ste# does rat*er t*an how. Used d'ring re6'ire#ents elicitation to re"resent e/ternal be*a,ior Actors re"resent roles, t*at is, a t+"e o$ 'ser o$ t*e s+ste# Use cases re"resent a se6'ence o$ interaction $or a t+"e o$ $'nctionalit+ T*e 'se case #odel is t*e set o$ all 'se cases% It is a co#"lete descri"tion o$ t*e $'nctionalit+ o$ t*e s+ste# and its en,iron#ent
)ctors An actor #odels an e/ternal entit+ .*ic* co##'nicates .it* t*e s+ste#1 User E/ternal s+ste# *+sical en,iron#ent An actor *as a 'ni6'e na#e and an o"tional descri"tion% E/a#"les1 assenger1 A "erson in t*e train G S satellite1 ro,ides t*e s+ste# .it* G S coordinates Use Cases A 'se case re"resents a class o$ $'nctionalit+ "ro,ided b+ t*e s+ste# as an e,ent $lo. %A 'se case consists o$1
Passenger
Purchase Ticket
RGIT, MUMBAI age F De"art#ent o$ MCA%
Use Case Table : !e ca!e &D 1 !e ca!e name Create Ne. order Actor /re0condition /o!t0condition 1(ow of event! "u!tomer Sender and receiver detai( Accept t,e parce( 2nter "u!tomer Detai(! and c(ic3 on )utton.
Cancel order
"u!tomer Order not de(iver "ance( t,e order 2nter t,e invoice no.
C*ec2 stat's
"u!tomer 2nter invoice num)er 4rac3 t,e !tatu! of parce( ",ec3 t,e avai(a)i(ity of parce(
RGIT, MUMBAI
age !G
De"art#ent o$ MCA%
&dmin
Cancel Order
Record Details
RGIT, MUMBAI
age !!
De"art#ent o$ MCA%
$ UML 2nteraction Diagram 3Se.uence )nd Collaboration Diagram4( S56U5&C5 Diagram 1 A se.uence diagram is an interaction diagra# t*at details *o. o"erations are carried o't << .*at #essages are sent and .*en% Se6'ence diagra#s are organi=ed according to ti#e% T*e ti#e "rogresses as +o' go do.n t*e "age% T*e objects in,ol,ed in t*e o"eration are listed $ro# le$t to rig*t according to .*en t*e+ ta2e "art in t*e #essage se6'ence% Se6'ence diagra#s contain t*e $ollo.ing1 Class roles ?s'bs+ste#5object5class, actor, and e/ternal s+ste# roles in t*e interaction@% T*ese are ?'s'all+@ dra.n across t*e to" o$ t*e diagra#% 3i$elines ?s'bs+ste#5object5class e/istence@% T*ese ?'s'all+@ e/tend do.n t*e diagra#% Acti,ations ?s*o. .*en t*e s'bs+ste#5object5class is doing so#et*ing@ Messages ?co##'nication bet.een roles@ Class -oles Notation is a rectangle containing RoleNa#e1ClassNa#e ?bot* 'nderlined@ Can be an inter$ace instead o$ class% Ma+ *a,e a n'#ber in t*e '""er rig*t *and corner gi,ing t*e n'#ber o$ instances in,ol,ed% Re"resents an object, class, actor ?"erson@, s'bs+ste# or e/ternal s+ste#%
RoleNa#e1ClassNa#e
RGIT, MUMBAI
age !&
De"art#ent o$ MCA%
Lifelines Das*ed or dotted line $ro# "ast to $'t're or $ro# birt* to deat* i$ a role .it* a li#ited li$es"an% Deat* is #ar2ed .it* a large Ma+ s"lit and #erge to re"resent alternati,e "at*s% E%g%,
)cti0ation S*o.n b+ a bo/ o,er a li$eline Re"resents an acti,e role Ma+ call itsel$ rec'rsi,el+ Messages Denoted b+ labeled *ori=ontal arro.s I$ si#"l+ an arro., re"resents $lo. o$ control% I$ s*o.n as1
} paired
RGIT, MUMBAI
age !)
De"art#ent o$ MCA%
/ Customer 0isits
/ &dmin
/ (ead O ice
/Customer
/Order Packet
/Order "ransaction
createCust1cust_in o2 status3chk)tatus1cust_name2
/Order
/)er*ices
RGIT, MUMBAI
age !7
De"art#ent o$ MCA%
/ Customer
/ &dmin getOrder12
/Order
/Order Packet
/)er*ices
/Order "ransaction
chk"#pe1Orderid5Itemid2 chk%t12
calc&mt1t#pe5.t2
create"rans1orderid5&mt2 produceChrgs1trans2
/ Customer
/ &dmin
/Order
/Order Packet
/Order "ransaction
/ Customer )tatus12
/ &dmin
/Order
/Order Packet
/)hipment
)hipmentDetails12
/ &dmin
/Order
/Order Packet
/)hipment
getOrderId12 getItem1orderid5itemid2
RGIT, MUMBAI
age !A
De"art#ent o$ MCA%
Collaboration diagrams are also interaction diagra#s% T*e+ con,e+ t*e sa#e in$or#ation as se6'ence diagra#s, b't t*e+ $oc's on object roles instead o$ t*e ti#es t*at #essages are sent% In a se6'ence diagra#, object roles are t*e ,ertices and #essages are t*e connecting lin2s% Collaboration diagra#s s*o. ?'sed to #odel@ *o. objects interact and t*eir roles% T*e+ are ,er+ si#ilar to se6'ence diagra#s% Act'all+ t*e+ are considered as a cross bet.een class and se6'ence diagra#% Sequence Diagrams are arranged according to Ti#e% Collaboration Diagrams re"resent t*e str'ct'ral organi=ation o$ object. HBot* se6'ence and collaboration diagra#s are called interaction diagra#sI Cor#s a conte/t $or interactions Ma+ realize 'se cases Ma+ be associated .it* o"erations Ma+ describe t*e static str'ct're o$ classes Collaboration diagra#s contain t*e $ollo.ing1 Class roles ?s'bs+ste#s5objects5classes5actors5 e/ternal s+ste#s@ as be$ore% Association roles ?"at*.a+s or lin2s o,er .*ic* #essages $lo.@ Message $lo.s ?#essages sent bet.een class roles@ )ssociation -oles O$ten classes De$ine t*e interaction bet.een class roles%
M'lti"licities de$ined i$ t*e Class Roles re"resent sets o$ objects Message Flo,s Se6'ence n'#bers on e,er+ #essage% T*ese can be nested to associate related #essages% Arro.s are t*e sa#e as t*ose 'sed in se6'ence diagra#s%
RGIT, MUMBAI
age !B
De"art#ent o$ MCA%
/ (ead O ice 9-/ sendCon irmation12 9/ 0isits ?/ sendParcel12 99/ sendCourier12 /Order "ransaction
/ Customer
8/ createOrder1order_in o2 /Order
/ &dmin
9/ getOrder12 8/ create"rans1orderid5&mt2
/Order Packet
/ Customer
;/ cancelCon irm12
/ &dmin
/Order Packet
/ Customer
/ &dmin
8/ )hipmentDetails12
7/ getItemDetails1itemid5orderid2
/)hipment ?/ get)tatus1itemid2
/Order Packet
RGIT, MUMBAI
age !F
De"art#ent o$ MCA%
/Order 9/ getOrderId12
/ &dmin
-/ getItem1orderid5itemid2
/Order Packet
/)hipment
RGIT, MUMBAI
age &G
De"art#ent o$ MCA%
A Statec*art diagra# describes a state #ac*ine% No. to clari$+ it state #ac*ine can be de$ined as a #ac*ine .*ic* de$ines di$$erent states o$ an object and t*ese states are controlled b+ e/ternal or internal e,ents% Purpose: Statec*art diagra# is one o$ t*e $i,e UM3 diagra#s 'sed to #odel d+na#ic nat're o$ a s+ste#% T*e+ de$ine di$$erent states o$ an object d'ring its li$eti#e% And t*ese states are c*anged b+ e,ents% So Statec*art diagra#s are 'se$'l to #odel reacti,e s+ste#s% Reacti,e s+ste#s can be de$ined as a s+ste# t*at res"onds to e/ternal or internal e,ents% Collo.ing are t*e #ain "'r"oses o$ 'sing Statec*art diagra#s1
To #odel d+na#ic as"ect o$ a s+ste#% To #odel li$e ti#e o$ a reacti,e s+ste#% To describe di$$erent states o$ an object d'ring its li$e ti#e% De$ine a state #ac*ine to #odel states o$ an object%
&otation : State ransition T*e State notation #ar2s a #ode o$ t*e entit+, and is indicated 'sing a rectange .it* ro'nded corners, and t*e state na#e .ritten inside% A Transition #ar2s t*e c*anging o$ t*e object State, ca'sed b+ an e,ent% T*e notation $or a Transition is an arro., .it* t*e E,ent Na#e .ritten abo,e, belo., or alongside t*e arro.% T*e Initial State is t*e state o$ an object be$ore an+ transitions% Cor objects, t*is co'ld be t*e state .*en instantiated% T*e Initial State is #ar2ed 'sing a solid circle% Onl+ one initial state is allo.ed on a diagra#% End States #ar2 t*e destr'ction o$ t*e object .*o9s state .e are #odeling% T*ese states are dra.n 'sing a solid circle .it* a s'rro'nding circle%
2nitial State
Final State
RGIT, MUMBAI
age &!
De"art#ent o$ MCA%
&dd"oOrder1Order_id5Desc54t#2 CreateOrderPacket12
createOrder1Order_in o2
&dding Items
calc&mount1t#pe5.eight2
Calculating
Dispatching
sendPacket12
add"o'ill1OrderId2
)hipped
Closed
RGIT, MUMBAI
age &&
De"art#ent o$ MCA%
T*e class diagra# is a static diagra#% It re"resents t*e static ,ie. o$ an a""lication% Class diagra# is not onl+ 'sed $or ,is'ali=ing, describing and doc'#enting di$$erent as"ects o$ a s+ste# b't also $or constr'cting e/ec'table code o$ t*e so$t.are a""lication% T*e class diagra# describes t*e attrib'tes and o"erations o$ a class and also t*e constraints i#"osed on t*e s+ste#% T*e class diagra#s are .idel+ 'sed in t*e #odelling o$ object oriented s+ste#s beca'se t*e+ are t*e onl+ UM3 diagra#s .*ic* can be #a""ed directl+ .it* object oriented lang'ages% T*e class diagra# s*o.s a collection o$ classes, inter$aces, associations, collaborations and constraints% It is also 2no.n as a structural diagram% Purpose: T*e "'r"ose o$ t*e class diagra# is to #odel t*e static ,ie. o$ an a""lication% T*e class diagra#s are t*e onl+ diagra#s .*ic* can be directl+ #a""ed .it* object oriented lang'ages and t*'s .idel+ 'sed at t*e ti#e o$ constr'ction% T*e UM3 diagra#s li2e acti,it+ diagra#, se6'ence diagra# can onl+ gi,e t*e se6'ence $lo. o$ t*e a""lication b't class diagra# is a bit di$$erent% So it is t*e #ost "o"'lar UM3 diagra# in t*e coder co##'nit+% So t*e "'r"ose o$ t*e class diagra# can be s'##ari=ed as1
Anal+sis and design o$ t*e static ,ie. o$ an a""lication% Describe res"onsibilities o$ a s+ste#% Base $or co#"onent and de"lo+#ent diagra#s% Cor.ard and re,erse engineering%
&otation: Class Classes are t*e b'ilding bloc2s in object< oriented "rogra##ing% A Class is de"icted 'sing a rectangle di,ided into t*ree sections% T*e to" section is t*e na#e o$ t*e Class% T*e #iddle section de$ines t*e "ro"erties o$ t*e Class% T*e botto# section lists t*e #et*ods o$ t*e class%
RGIT, MUMBAI
age &)
De"art#ent o$ MCA%
An Association is a generic relations*i" bet.een t.o classes, and is #odeled b+ a line connecting t*e t.o classes% T*is line can be 6'ali$ied .it* t*e t+"e o$ relations*i", and can also $eat're #'lti"licit+ r'les ?eg% one< to<one, one<to<#an+, #an+<to<#an+@ $or t*e relations*i"% I$ a class cannot e/ist b+ itsel$, and instead #'st be a #e#ber o$ anot*er class, t*en t*at class *as a Co#"osition relations*i" .it* t*e containing class% A Co#"osition relations*i" is indicated b+ a line .it* a $illed dia#ond% :*en a class 'ses anot*er class, "er*a"s as a #e#ber ,ariable or a "ara#eter, and so Jde"endsJ on t*at class, a De"endenc+ relations*i" is $or#ed% A De"endenc+ relations*i" is indicated b+ a dotted arro.% Aggregations indicate a .*ole<"art relations*i", and are 2no.n as J*as<aJ relations*i"s% An Aggregation relations*i" is indicated b+ a line .it* a *ollo. dia#ond% A Generali=ation relations*i" is t*e e6'i,alent o$ an inheritance relations*i" in object<oriented ter#s ?an Jis<aJ relations*i"@% A Generali=ation relations*i" is indicated b+ an arro. .it* a *ollo. arro.*ead "ointing to t*e base, or J"arentJ, class%
Composition
Dependency
)ggregation
:enerali+ation
RGIT, MUMBAI
age &7
De"art#ent o$ MCA%
US5 C)S5 D5SC-2P 2*& : )ctors: !%C'sto#er &%Ad#in )%(ead o$$ice Use cases: !% Create Ne. order &% Calc'late deli,er+ c*arges )% Cancel order 7% C*ec2 stat's ;% Record details
RGIT, MUMBAI
age &;
De"art#ent o$ MCA%
deli,ers
9
Mediator
reci"ien t
)er*ices "#pe Price CustId @ax%t @in%t create)er*ices12 chk)er*ices12 Order Packet OrderId PacketId Price "#pe %eight Dest )tatus createPacket12 chk"#pe12 calc&mt12 delPacket12 9AAB
9AAB
"ro,ide s
Ser,ice order
)hipment )hip!o Date)ent Date&rri*ed )tatus PacketId Del_Id Reason sorrPackets12 assignPackets12 recei*ePacket12 createCon irm12 deletePacket12
order generator
Customer !ame CustId &ddress "elephone Pincode getCustDetails12 createCust12 chk)tatus12
*as
Order "ransaction OrderId 'ill!o Date &mount prep'ill12 generate'ill!o12 &ddOrderChrgs12 calc"otal12 print'ill12 generate'illDetails12 sho.'illDetails12
orders 9 initiator
>AAB
initiates generator
9 9AAB
Transa ction
RGIT, MUMBAI
age &A
De"art#ent o$ MCA%
Co#"onent diagra#s are di$$erent in ter#s o$ nat're and be*a,ior% Co#"onent diagra#s are 'sed to #odel "*+sical as"ects o$ a s+ste#% *+sical as"ects are t*e ele#ents li2e e/ec'tables, libraries, $iles, doc'#ents etc .*ic* resides in a node% So co#"onent diagra#s are 'sed to ,is'ali=e t*e organi=ation and relations*i"s a#ong co#"onents in a s+ste#% T*ese diagra#s are also 'sed to #a2e e/ec'table s+ste#s% Purpose: Co#"onent diagra# is a s"ecial 2ind o$ diagra# in UM3% T*e "'r"ose is also di$$erent $ro# all ot*er diagra#s disc'ssed so $ar% It does not describe t*e $'nctionalit+ o$ t*e s+ste# b't it describes t*e co#"onents 'sed to #a2e t*ose $'nctionalities% So $ro# t*at "oint co#"onent diagra#s are 'sed to ,is'ali=e t*e "*+sical co#"onents in a s+ste#% T*ese co#"onents are libraries, "ac2ages, $iles etc% So t*e "'r"ose o$ t*e co#"onent diagra# can be s'##ari=ed as1
4is'ali=e t*e co#"onents o$ a s+ste#% Constr'ct e/ec'tables b+ 'sing $or.ard and re,erse engineering% Describe t*e organi=ation and relations*i"s o$ t*e co#"onents%
&otation : Component A co#"onent re"resents a so$t.are entit+ in a s+ste#% E/a#"les incl'de so'rce code $iles, "rogra#s, doc'#ents, and reso'rce $iles% A co#"onent is re"resented 'sing a rectang'lar bo/, .it* t.o rectangles "rotr'ding $ro# t*e le$t side, as seen in t*e i#age to t*e rig*t% A De"endenc+ is 'sed to #odel t*e relations*i" bet.een t.o co#"onents% T*e notation $or a de"endenc+ relations*i" is a dotted arro., "ointing $ro# a co#"onent to t*e co#"onent it de"ends on%
Dependency
RGIT, MUMBAI
age &B
De"art#ent o$ MCA%
CCGDI,, &pplication
KK3ANL L
KKODBCL L
@#)4$
RGIT, MUMBAI
age &D
De"art#ent o$ MCA%
De"lo+#ent diagra#s are 'sed to ,is'ali=e t*e to"olog+ o$ t*e "*+sical co#"onents o$ a s+ste# .*ere t*e so$t.are co#"onents are de"lo+ed% So de"lo+#ent diagra#s are 'sed to describe t*e static de"lo+#ent ,ie. o$ a s+ste#% De"lo+#ent diagra#s consist o$ nodes and t*eir relations*i"s% Purpose: T*e na#e Deployment itsel$ describes t*e "'r"ose o$ t*e diagra#% De"lo+#ent diagra#s are 'sed $or describing t*e *ard.are co#"onents .*ere so$t.are co#"onents are de"lo+ed% Co#"onent diagra#s and de"lo+#ent diagra#s are closel+ related% T*e "'r"ose o$ de"lo+#ent diagra#s can be described as1
4is'ali=e *ard.are to"olog+ o$ a s+ste#% Describe t*e *ard.are co#"onents 'sed to de"lo+ so$t.are co#"onents% Describe r'nti#e "rocessing nodes%
&otation : Component A co#"onent re"resents a so$t.are entit+ in a s+ste#% E/a#"les incl'de so'rce code $iles, "rogra#s, doc'#ents, and reso'rce $iles% On a de"lo+#ent diagra#, co#"onents are "laced .it*in nodes to identi$+ t*eir de"lo+ed location% A co#"onent is re"resented 'sing a rectang'lar bo/, .it* t.o rectangles "rotr'ding $ro# t*e le$t side, as seen in t*e i#age to t*e rig*t% &ode A node re"resents a "iece o$ *ard.are in t*e s+ste#% T*is entit+ is re"resented b+ a t*ree< di#ensional c'be%
)ssociation
An association, dra.n as a solid line bet.een t.o Nodes, indicates a line o$ co##'nication bet.een t*e *ard.are ele#ents%
age &F De"art#ent o$ MCA%
RGIT, MUMBAI
CCFD'C,, Ethernet
CCFD'C,, "CPGIP
RGIT, MUMBAI
age )G
De"art#ent o$ MCA%