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
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Java HTTP REST interface!