I have Blob object retrieved from database (through jdbc) and will like to store the Blob object as part of data in xml file. Is this possible? if yes how can I achieve it? Please I need your response.
Why XML? XML is character-based, and as such not a good fit for binary data. If you're nonetheless set on doing it, some binary-->text conversion would be involved, maybe base64-encoding (the Apache Commons Codec library can do that).