I would like to create a web server that will serve/accept json files through REST. The JSON files being served will come from a database query and format the results into JSON. Any suggestions for a good java library. I have tried using Apache HTTPComponents. While maybe I can just create a servlet but I am not really allowed to install a servlet container in the server machine.
EDIT: I was just thinking to create the program where I can just simply issue a simple java -jar Application.jar and everything is already started and functional. The application will listen on a certain port of the machine and respond to some requests from browser and/or another java program. Looks like Jetty will help me do it. As I have said, I have implemented something using HTTPComponents and I'm just simply parsing the URL from the requests and do something in the server based on the parsed URL.