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
License
Creative Commons Attribution LicenseFollow Java HTTP REST interface
Other Useful Business Software
Passwordless Authentication and Passwordless Security
It’s no secret — passwords can be a real headache, both for the people who use them and the people who manage them. Over time, we’ve created hundreds of passwords, it’s easy to lose track of them and they’re easily compromised. Fortunately, passwordless authentication is becoming a feasible reality for many businesses. Duo can help you get there.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Java HTTP REST interface!