I format dom information in the servlet, where the DOM information is created in a EJB. getting the XML in and out of the dom structure consumes a lot of CPU, Can DOM structures consistently be shared beween servlet and EJB ?
Yes.