2. 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 ?
4. Batasan
⢠Hanya SI Akademik bagian studentportal
â Fokus : operasi read
⢠Web Services Server menggunakan Java EE
5. Tahap Penelitian
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)
6. 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
7. Traditional Web Services
⢠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
8. Traditional Web Services (2)
Service-Oriented Architecture (SOA)
⢠Format pesan : XML (SOAP atau XML-RPC)
⢠Service Description : WSDL (Publish) & UDDI (Find)
⢠Transport network : HTTP
9. RESTful Web Services
⢠RESTful bukan standard, hanya sebuah gaya arsitektur
⢠Universal Interface : GET, POST, PUT, DELETE (HTTP verbs)
14. 3. Analisis
⢠Spesifikasi kebutuhan services untuk studentportal :
1. Info jadwal kuliah
2. Info jadwal UTS/UAS
3. Info nilai mata kuliah per semester
4. Info indeks prestasi
5. Info total tagihan
⢠Rancangan skema API
15. 3. Analisis (2) â Perbandingan Teknologi
⢠Arsitektur : Traditional (SOA) vs RESTful
SOA / WS-* RESTful
SOA Middleware Architectural style for the
Interoperability Standard web
The Web is the universal The Web is the universal of
(tunneling) transport for globally accessible
message information
Enterprise computing (not Web application (only via
only via HTTP) HTTP)
Complexity Simplicity
More secure Less secure
16. 3. Analisis (2) â Perbandingan Teknologi
⢠Message format : XML vs JSON
XML (SOAP) JSON
Richness Simplicity
Problem domain Message domain
Document-based Data-based
Slower read/written Faster read/written
17. 3. Analisis (3)
⢠Kondisi sistem
â Server type : Web Server
â Protocol : HTTP
â Future client apps : Web and Mobile Apps
⢠maka, pilihan teknologi utama :
RESTful Web Services + JSON
18. 3. Analisis (3) â Model Usulan
REST-based UNPAR Web Services Model
20. Daftar Referensi
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/webservic
es/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.
21. Daftar Referensi (2)
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