I’ve got some simple dynamic XML that I want to vend out over http at an endpoint using Java (for instance: http://localhost:8888/getUpdatedInfo).
I’d really like to avoid using a framework or third party libraries. I know for WSDL endpoints it is really simple to host a server using the normal JDK (Using endpoint.publish() in http://docs.oracle.com/javaee/6/api/index.html?javax/xml/ws/Endpoint.html)
Is there anything similar for arbitrary HTML/XML?
As seen in the documentation for com.sun.net.httpserver: