Presentasi seminar penelitian pemodelan web services di unpar

Preview:

Citation preview

Pemodelan dan Implementasi Antarmuka

Web Services untuk Sistem Informasi yang Tersedia di

UNPAR

Muhammad Ghifary, M.T.Gede Karya, M.T.

Latar Belakang & Masalah

• Kebutuhan layanan machine-to-machine antara SI Unpar dengan sistem lainnya– akademik, umum, lainnya ?

• Mengapa machine-to-machine ?– Interoperability– HTTP browser capability– Service reusability

• Penyediaan layanan oleh SI Unpar berupa API dengan Web Services– Layanan apa saja ?– Teknologi yang digunakan ?– Model / arsitektur sistem ?– Isu keamanan ?

Model Hipotesis

Batasan

• Hanya SI Akademik bagian studentportal– Fokus : operasi read

• Web Services Server menggunakan Java EE

1. Kajian Pustaka (v)2. Pemahaman sistem kini (v)3. Analisis (3/4)

– Spesifikasi kebutuhan (v)– Desain model (1/2)

4. Implementasi web services server (x)5. Implementasi web services test client (x)

Tahap Penelitian

1. Kajian Pustaka

• Traditional Web Services– HTTP– XML– SOAP– UDDI

• RESTful Web Services– HTTP GET/POST, SOAP, JSON

• Security in Web Services / HTTP– HTTPS, SSL/TSL, WSS, OAuth

• Distributed System– cluster

• Web Services : – layanan apapun yang tersedia dan dapat diakses

melalui jaringan Internet dengan menggunakan sistem XML messaging

– Tidak bergantung pada Sistem Operasi atau Bahasa Pemrograman

Traditional Web Services

• Format pesan : XML (SOAP atau XML-RPC)• Service Description : WSDL (Publish) & UDDI (Find)• Transport network : HTTP

Traditional Web Services (2)Service-Oriented Architecture

(SOA)

• RESTful bukan standard, hanya sebuah gaya arsitektur

• Universal Interface : GET, POST, PUT, DELETE (HTTP verbs)

RESTful Web Services

• Example

RESTful Web Services (2)

• Traditional network security (firewall, IDS) is not enough !

• HTTPS– User authentication assurance

• SSL/TSL• WSS (Web Services Security)

– SOAP extention– Integrity & confidentiality– XML Signature & Encryption

• Separated authorization– OAuth

Security in Web Services

2. Sistem Kini

Login Home IP

Nilai Tagihan

2. Sistem Kini (2)

• Spesifikasi kebutuhan services untuk studentportal : 1. Info jadwal kuliah2. Info jadwal UTS/UAS3. Info nilai mata kuliah per semester4. Info indeks prestasi5. Info total tagihan

• Rancangan skema API

3. Analisis

• Arsitektur : Traditional (SOA) vs RESTful

3. Analisis (2) – Perbandingan Teknologi

SOA / WS-* RESTful

SOA Middleware Interoperability Standard

Architectural style for the web

The Web is the universal (tunneling) transport for message

The Web is the universal of globally accessible information

Enterprise computing (not only via HTTP)

Web application (only via HTTP)

Complexity Simplicity

More secure Less secure

• Message format : XML vs JSON

3. Analisis (2) – Perbandingan Teknologi

XML (SOAP) JSON

Richness Simplicity

Problem domain Message domain

Document-based Data-based

Slower read/written Faster read/written

• Kondisi sistem– Server type : Web Server– Protocol : HTTP– Future client apps : Web and Mobile Apps

• maka, pilihan teknologi utama :

RESTful Web Services + JSON

3. Analisis (3)

REST-based UNPAR Web Services Model

3. Analisis (3) – Model Usulan

• Implementasi Web Services Server• Implementasi Desktop/Mobile Client (Testing)

Selanjutnya …

1. Alonso, G., Casati F., Kuno H., Machiraju V., Web Services: Concepts, Architectures, and Applications, Springer, 2003.

2. Oracle Sun Developer Network (Oracle SDN), The Java™ Web Services Tutorial for Java Web Services Developer’s Pack v1.6, http://download.oracle.com/docs/cd/E17802_01/webservices/webservices/docs/1.6/tutorial/doc/index.html, Juni 2005.

3. Newcomer, E., Understanding Web Services: XML, WSDL, SOAP, and UDDI, Independent Technology Guide, 2002.

4. Adams P., Easton P., Mehta B., Merrick R., SOAP over Java Message Service 1.0, http://www.w3.org/TR/2009/CR-soapjms-20090604/ , Juni 2009.

5. Chappel D. A., Jewell T., Java Web Services, O’Reilly Media, 2002.

6. Cerami E., Web Services Essentials, O’Reilly Media, 2002.

Daftar Referensi

7. R.T. FIelding, R. N. Taylor. Principled Design of the Modern Web Architecture, in the Proceedings of the 22nd International Conference on Software Engineering, Ireland, June 2000 (ICSE 2000), 407 - 416.

8. C. Pautasso, O. Zimmermann, F. Leymann. RESTful Web Services vs. Big Web Services: Making the Right Architectural Decision. in the Proceedings of the 17th International WWW Conference, April 2008, 805-814

Daftar Referensi (2)