ePrints.FRI - University of Ljubljana, Faculty of Computer and Information Science

Web services development in Java

Dane Porenta (2012) Web services development in Java. EngD thesis.

Download (1043Kb)


    We focused on web services and their development. We presented two of the most common types of web services: SOAP and REST web services. We showed how they work, how to develop and ways how client can invoke them. Looking into SOAP web service details we described it's SOAP protocol and WSDL file for describing web service. We also described WS–* specifications and WS–I Basic Profile, which helps with interoperability. After describing SOAP web services, we described REST web services. Here we explained REST architecture style, which is a backbone for this kind of services, and WADL file to describe service. We also compared SOAP and REST web services, explained why REST service is better and why SOAP service is better and which one is better in different situations. We described API interfaces for development of web services in Java environment. We also compared JAX–RS and JAX–WS. We developed an example of SOAP web service, which has functions to view or modify records in specified tables in database. In the end, we generated SOAP client for my SOAP web services from its WSDL file. We also developed an example of REST web service. It utilizes database as source of resources. We set access root and URIs for accessing the developed web service and defined methods for each type of requests and URIs. We also developed REST client at the end. We developed both web services with NetBeans tool together with GlassFish server, where we successfully deployed them and have been testing them.

    Item Type: Thesis (EngD thesis)
    Keywords: web service, SOAP, REST, WS–*, Java, API interface
    Number of Pages: 53
    Language of Content: Slovenian
    Mentor / Comentors:
    Name and SurnameIDFunction
    prof. dr. Branko Matjaž JuričMentor
    Link to COBISS: http://www.cobiss.si/scripts/cobiss?command=search&base=50070&select=(ID=00009056596)
    Institution: University of Ljubljana
    Department: Faculty of Computer and Information Science
    Item ID: 1625
    Date Deposited: 15 Mar 2012 16:43
    Last Modified: 05 Apr 2012 16:52
    URI: http://eprints.fri.uni-lj.si/id/eprint/1625

    Actions (login required)

    View Item