background preloader

Programming

Facebook Twitter

Clojure - home. The Scala Programming Language. Simple RESTful services in Glassfish Pt 2. In part 2 of this article, we are going to create a data driven web service that will return JSON and XML to the client, and then use jQuery to add a new item to the database and display it in our page.

Simple RESTful services in Glassfish Pt 2

In part 1, we looked at creating simple web services and now we’re going to look at making something more practical and interesting. We’ll start from where we left off with the source code as it was at the end of the part 1 which you can download from here (restwebdemo_pt1) if you want to follow along. If not, the final source can be downloaded from here (restwebdemo_pt2).