Simple Server for Hosting XML in Java

InFamous6121

New Member
I've got some simple dynamic XML that I want to vend out over http at an endpoint using Java (for instance: \[code\]http://localhost:8888/getUpdatedInfo\[/code\]).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?
 
Back
Top