Back to Search Start Over

Razvoj RESTFUL web usluge i aplikacijskog programskog sučelja u .NET okviru

Authors :
Marić, Petar
Martinović, Goran
Zorić, Bruno
Publication Year :
2018
Publisher :
Sveučilište Josipa Jurja Strossmayera u Osijeku. Fakultet elektrotehnike, računarstva i informacijskih tehnologija Osijek. Zavod za programsko inženjerstvo. Katedra za programske jezike i sustave., 2018.

Abstract

U ovome radu daje se kratki pregled HTTP protokola i URI standarda koji su temelji globalne mreže za razmjenu informacija kao i dva stila arhitekture za razvoj web servisa: SOAP i REST arhitekture s fokusom na REST arhitekturu. Pojašnjeni su glavni elementi koji čine SOAP arhitekturu – WSDL, UDDI te SOAP protokol za razmjenu poruka između distribuiranih sustava. S obzirom na složenost razvoja SOAP web servisa pojavila se REST arhitektura. U ovome radu pojašnjeni su osnovni stilovi arhitekture iz kojih je nastao REST kao njihov hibrid. Također su detaljno predstavljeni njezini elementi podataka, elementi konektora i komponente. Pridržavanjem opisanih šest ograničenja nametnutih REST-om web servisi postaju RESTful web servisi. Za prijenos informacija između web servisa koriste se XML i JSON prijenosni formati, za razvoj programa MVC oblikovni obrazac. U praktičnom dijelu rada detaljno su opisani alati i tehnologije potrebni za prikupljanje i pohranu vijesti s raznih web sjedišta sa svrhom omogućavanja pretrage sadržaja vijesti. Za pohranu i pretraživanje sadržaja vijesti korišten je program Elasticsearch, a za kreiranje aplikacijskog programskog sučelja preko kojeg se pristupa Elasticsearch-u te nužni upravljači za rukovanje zahtjevima usmjerenih prema web servisu kreirani su unutar .NET okruženja. In this paper, the short overview of HTTP protocol and URI standard as the foundation of World Wide Web is given as well as two types of architectural styles for creating web services: SOAP and REST with the focus on the latter. The main elements of SOAP architecture are described – WSDL, UDDI and SOAP protocol for message interchange between distributed systems. Because of the complex development of SOAP web services the REST architectural style emerged. In this paper, the basic architectural styles of web services are described from which the hybrid REST style emerged. Also, its data elements, connectors and components are described in detail. Complying with the six constraints imposed by REST, web services become RESTful web services. For information transfer between two web services XML and JSON formats are used, MVC design pattern is used for developing programs. In the practical part of this paper the tools and technologies required for acquiring and storing news from various websites for the purpose of enabling search over news content are described in detail. For storing and searching the news content the Elasticsearch program is used and .NET framework is used for the creation of application programming interface through which the Elasticsearch is accessed. .NET framework is also used for defining controllers necessary for handling the requests which are forwarded towards web service.

Details

Language :
Croatian
Database :
OpenAIRE
Accession number :
edsair.od......3912..87056e73b09db04fee7a05a7973fc9d4