Discussion Locked

EJB & DOM docs: serialization problem

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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!

1 reply

by valentino

Seems that you are using some data memebers in your class that cannot be serialized. Please list all the member variables you declared in your bean.

This discussion is closed to new replies.