This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi All, While trying to pass XML Document from one EJB to another EJB, I got NotSerializableException? Later I found that org.w3c.dom.Document is not serializable. Then I thought I can convert the xml to string and pass it. But I couldn't find any API's for directly parsing the xml string (I am using JAXP). Since it is not possible to use IO classess in EJB, can anybody suggest me any alternatet ways to do this. Thanks in advance. Regards,
I know how to convert the Document to string i.e. like this Document doc = .... org.apache.crimson.tree.XmlDocument xmlDoc = (XmlDocument) doc; String xmlString = xmlDoc.toString(); I want to how to convert the string which contains the valid xml content (in this case xmlString) to form DOM Document. Please help. Regards, Jayakumar