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
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Java HTTP REST interface!