General discussion

Locked

EJB & DOM docs: serialization problem

By piponline ·
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 conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Re: EJB&DOM docs: serialization problem

by Valentino In reply to EJB & DOM docs: serializa ...

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.

Back to Web Development Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums