EJB & DOM docs: serialization problem - TechRepublic
General discussion
September 11, 2002 at 07:08 PM
piponline

EJB & DOM docs: serialization problem

by piponline . Updated 23 years, 9 months ago

Hi.
I’m trying to implement a pattern where a session, stateless EJB takes care of database issues like performing a query, returning to a servlet the result in the form of an org.w3c.dom.Document xml doc.
The problem is that this class is not serializable and thus the container throws a java.io.NotSerializableException exception.
Any ideas about this will be much appreciated!
Thanks!

This discussion is locked

All Comments