Presentasi sedang didownload. Silahkan tunggu

Presentasi sedang didownload. Silahkan tunggu

Component & Deployment Diagram

Presentasi serupa


Presentasi berjudul: "Component & Deployment Diagram"— Transcript presentasi:

1 Component & Deployment Diagram

2 Component Diagram Menggambarkan alokasi semua class dan object kedalam komponen dalam desain fisik system software, termasuk pengaturan dan kebergantungan antar komponen software Component dapat terdiri dari logical component, seperti business component, process component, dll Physical component (software arsitektur) , seperti Com+, dot NET,CORBA, dll Component digambarkan dengan bentuk pada UML versi 1.*: Pada UML versi 2 digambarkan dengan bentuk: atau atau atau

3 Component cont... Stereotypes yang dapat digambarkan pada bentuk component: <<application>>,kumpulan aplikasi system <<executable>>,component yang jalan di client <<file>>, data file <<infrastructure>>, technical component didalam system <<source code>>, source file <<table>>, table data dalam sebuah database <<UI>>, User interface (screen, pages, report) dll <<database>> <<document>> <<library>> <<web service>> <<XML DTD>> Contoh:

4 Component cont... Dependencies
dimodelkan dengan garis terputus dengan panah terbuka gambarkan dependencies dari kiri ke kanan Contoh: <<ASP>> Source Code bergantung pada <<database>> MySQL Dimungkinkan sebuah component dependencies pada interfaces component lainnya

5 Component cont... Inheritance
inheriting/child component diletakkan dibawah parent component, dengan arah panah menuju ke parent component dimodelkan dengan garis dengan panah tertutup Contoh:

6 Component cont... Contoh Component diagram: applet1.class Demo.html
logo.gif applet1.java applet2.java

7 Contoh:

8 Deployment Diagram Menggambarkan arsitektur system
Pemetaan software(component pada component diagram) yang jalan di sebuah hardware (node pada deployment diagram) Software component tidak selalu menggambarkan setiap software component yang ada pada sebuah Komputer(system operasi/Microsoft Office, dll), akan tetapi software component tersebut akan digambarkan ketika ada hubungan dengan pengimplementasian sebuah system Menggambarkan bagaimana s/w dan h/w bekerja sama Menggambarkan topologi jaringan

9 Deployment cont... Artifact
Spesifikasi dari bentuk physic informasi yang digunakan atau dihasilkan Contoh : source file, script, executable file, table di database, document word/excel, , dll Digambarkan dengan bentuk Dapat dihubungkan dengan component pada component diagram Hanya digambarkan dalam sebuah node perhatikan potongan program dibawah ini yang sesuai dengan artifact yang ada: <! order.ASp> <!-- #include file=buka.asp --> <!-- #include file=uler.txt --> <!-- #include file=data.css -->//code style sheet <script src="tgl.js"> //javascript </script>

10 Deployment cont... Node Adalah hardware seperti
computer/PDA ,lap top, handphone peralatan komunikasi data (router,hub,switch,modem) dll Digambarkan dengan bentuk kotak 3 dimensi Nama Node Node dapat digabungkan dengan component pada component diagram

11 Deployment cont... Node dapat digambarkan dengan bentuk visual, ataupun gabungan antara node dan visual

12 Deployment cont... Association
Digambarkan dengan sebuah garis yang menghubungkan antara node Setiap association mempunyai sebuah stereotypes seperti stereotypes istilah asynchronous Hubungan asynchronous HTTP HyperText Transport Protocol (internet protocol_ JDBC Java Database Connectivity, a Java API for database access. ODBC Open Database Connectivity, a Microsoft API for database access. RMI Remote Method Invocation, a Java communication protocol. RPC Communication via remote procedure calls. synchronous Komunikasi synchronous web services Komunikasi melalui Web Services protocols seperti as SOAP and UDDI Ethernet Ethernet Card

13 Deployment cont... HTTP Web Server Client <<internet>> Server Client * <<asynchronous>> 1 association dimungkinkan mempunyai multiplicity (0..1, 1..*, dll)

14 Deployment cont... Dependencies
Digambarkan dengan garis terputus yang berpanah terbuka deploy Sebuah garis terputus dengan ujung panah terbuka yang tertuju ke node dengan sebuah stereotypes <<deploy>> untuk menggambarkan software yang terdapat pada sebuah hardware faktur.asp dependencies terhadap order.asp

15 Deployment cont... cara diatas dapat digambarkan dengan memasukkan artifact/software ke dalam node/hardware atau dimungkinkan sebuah node memiliki node yang lain

16 Contoh Deployment Diagram (Order Processing System)
HTTP Web Server Oracle Server Application Server Printer Main Program Web Server Internet Information Server Client Workstation #2 Client Workstation #1 Web Browser Web Browser

17 SEKIAN


Download ppt "Component & Deployment Diagram"

Presentasi serupa


Iklan oleh Google