Enterprise Programming: Web Service

This is demonstration of an enterprise level web service I created.

The aim of the project was to create a web service that allows developers/ businesses to get and post data in a variety of formats such as JSON, XML and plain text.

I used the model-view-controller (MVC) pattern for creating the service, keeping the data access object (model), servlets (controllers) and viewers separate.

I took advantage of GSON, JSTL and JAXB libraries to simplify my JavaScript viewers, this meant that I could iterate through the results efficiently while writing less code.

I also used JQuery to automate my Ajax calls thus simplifying the potentially painful process of writing Ajax utilities, as I have done in the past.

For the web service I use a MySQL database to store the objects.

I have also created a cloud implementation of the web service and published it to Google App Engine. The main benefits of having the service in the cloud are that users will always be working with the most up to date version and it is available everywhere as long as someone has a device with a browser.

In the coming weeks I want to iron out a few bugs and create a RESTful interface.

Unfortunately I cannot release the code because it was part of an assignment on my masters course but is an example of the work I have been doing.



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s