Simplified multithreaded Java HTTP server able to interpret GET/POST requests.
Example dummy app included. It uses Apache2 as a proxy for AJAX calls and jQuery code as a client.
-------
Requirements:
For the Java HTTP server:
- J2SE (SDK for compilation)
For the exampe web app:
- Apache2 with mod_rewrite and mod_proxy
Client-side for the web app:
- www browser supporting JS with jQuery
---
Setup:
- run Server.class from Java server files (java Server) in a terminal/console
- unpack example app files under/within your apache2 document root file structure
- open index.html (with a www browser, from a www server)
- observe terminal output
This is a simple CRUD app that uses basic JQuery functions. Detail screen has CRUD & next/prev buttons. Select a person via the master list screen. Master is a JQ DT with buffering. It uses MySQL. Pls refer to http://tekne-techne.blogspot.com
Servlet framework for creating standalone restful CRUD services
AjaxToaster is built on XMLToaster and inspired by the "guerrilla SOA" philosphy.
You can use it to quickly create RESTful JSON & XML based CRUD services for your web applications by writing short scripts.
It is downloadable as a windows installer package for quick no-hassle setup.
It runs as a servlet in an app-server. By default it sets itself up to run inside its own standalone (jetty) server.
Code contributions most welcome!