Hot Posts

Web Services

HTML5 and AJAX interface

December 1, 2013 // 0 Comments

In the final part of this four step tutorial I am going to show how to use HTML5 and AJAX from jQuery to build a pop-up box that triggers an AJAX call to a servlet that marshals the XML returned from a web service then returns it back as the response to the AJAX call and displays the result in the pop-up. Continue [ continue reading ... ]

JSP, tag libs and servlet

November 21, 2013 // 0 Comments

In the previous article we saw how to marshal the XML returned by the web service to a Stock object. Now we are going to create a JSP template to create the structure of the popup using tag libs to manipulate the data from the Stock object and a servlet to handle the request and response of the client. Continue [ continue reading ... ]

Consuming Web Services: Marshalling with JAXB

November 1, 2013 // 0 Comments

Continuing from the previous article in which I showed how to use an Eclipse wizard to create a web service client given just the URI of the WSDL, I am going to use JAXB, the Java Architecture for XML binding. Marshalling is mapping XML elements to object properties so that each element of an XML String of data can be ‘injected’ into [ continue reading ... ]