How would I go about doing the following:

Using a Java Servlet I want to receive an XML file and other textual info and store the XML file in a database as a BLOB.
The information is being sent to the server using JSP on the client machine.

I also then want to be able retreive this XML file and send it back to the client.