jaxb is external to the tomcat web applications. I am using castor which accomplishes the same as jaxb. Use jaxb to create a library that will take in xml or java and convert to java or xml. You can use these pojo in any jsp, servlet or ejb.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com