Generic Service

This application showcases how to create Java based services using 
the Servlet API.

This example shows the design for a service that:

   - emits XML by default
   - returns JSON formatted content with format=json
   - returns Cross Domain JSONP with format=jsonp

The focus of this application is not on the conversion of data but
rather how to design an endpoint for your service and generate the
correct content.

I. Setup Environment:

You will need to set the java.autodeploy.dir in your build.properties
if you don't want to manually add the war file to your Servlet 2.4 or
better container's autodeploy directory

java.autodeploy.dir=/Users/gmurray/glassfish/domains/domain1/autodeploy

II. Building:

Type ant

III. Deploying

Type ant deploy-jsp

Once deployed access the application at:

http://localhost:8080/jmaki-generic-service

VI. Resources

Find out more about this code at:

https://ajax.dev.java.net/ajax/api-keys.html

Find out more about jMaki at:

https://ajax.dev.java.net/about.html

V. Feedback - Issues

Please see the jMaki Forums for issues or to give feedback.

http://forums.java.net/jive/forum.jspa?forumID=96
