Professional Documents
Culture Documents
Jawab:
1. Prinsip dasar client server: client-server memungkinkan sumber daya yang akan digunakan dapat diakses oleh
banyak client pada satu waktu.
Karakteristik Server:
- Pasif
- Menunggu request
- Menerima request, memproses request dan mengirimkan balasan berupa service
Karakteristik Client:
- Aktif
- Mengirim request
- Menunggu dan menerima balasan dari server
Model 3 Tier
3-tier. Membagi proses loading antara 1) komputer client menjalankan graphical user interface (GUI) logic, 2)
aplikasi server menjalankan business logic, dan 3) database dan/ atau legacy application. Karena 3-tier
memindahkan application logic ke server sehingga sering juga disebut sebagai arsitektur fat server.
2-Tier 3-Tier
System administration Complex Less complex
(more logic on the client to manage) (aplikasi dapat di-manage secara
terpusat di server-program aplikasi
dibuat sesuai standar system
management tools)
Security Low High
(data-level security) (fine-tuned pada layanan atau level
method)
Encapsulation of Data Low High
(tabel data dapat dilihat) (cthe client invokes services or
methods)
Performance Poor Good
(many SQL statements are sent over (only service requests and responses
the network; selected data must be are sent between the client and
downloaded for analisys on the server)
client)
Scale Poor Excellent
(limited management of client (concentrates incoming sessions; can
communication links) distribute loads across multiple
servers)
Application reuse Poor Excellent
(monolithic application on client) (can reuse services and objects)
Ease of development High Getting better
(standard tools can be used to create
the clients, and tools are emerging
that you can use to develop both the
client and server sides of the
application)
Server-to-server Infrastructure No Yes
(via server-side middleware)
Internet support Poor Excellent
(internet bandwidth limitations make (thin clients are easier to download
it harder to download fat clients and as applets or beans; remote service
exacerbate the already noted invocations distribute the application
limitations) load to the server)
Heterogeneous database support No Yes
(3-tier applications can use multiple
databases within the same business
transaction)
Hardware architecture flexibility Limited Excellent
(you have a client and a server) (all three tiers may reside on
differencomputers, or the second and
thirdtiers may both reside on the
same computer; with component-
based environments, you can
distribute the second tier across
multiple servers as well)
Availability Poor Excellent
(can’t fail over to a backup server) (can restart the middle tier
components on other servers)
6.