xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Luca Passani <passani AT eunet.no>
- To: xom-interest <xom-interest AT lists.ibiblio.org>
- Subject: Re: [XOM-interest] serializing XOM objects
- Date: Tue, 31 May 2005 16:40:26 +0200
Adam,
thanks for this link: http://www.systemmobile.com/wp/?p=20
this will help in due time.
Luca
You have four, no, five, no, six options that don't involve calling for a change in the XOM API; they are, presented in no particular order:
1) Use something other than XOM.
2) Rewrite the bits of XOM needed to make Document objects Serializable.
3) Ignore the error messages.
4) Direct the servlet engine to not serialize the sessions.
5) Use a different servlet engine that doesn't spit out the error messages for non-Serializable Session attributes.
6) Write an HttpSessionActivationListener that serializes any XOM documents in a passivating session as XML, and another that, on session activation, reads them back as XOM Documents.
For (4), see http://www.systemmobile.com/wp/?p=20
For (6), start here (despite the URL, this is Servlet Spec Javadoc):
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/servletapi/index.html
-
Re: [XOM-interest] serializing XOM objects
, (continued)
-
Message not available
-
Message not available
-
Message not available
- Re: [XOM-interest] serializing XOM objects, Luca Passani, 05/31/2005
- Re: [XOM-interest] serializing XOM objects, Elliotte Harold, 05/31/2005
- RE: [XOM-interest] serializing XOM objects, Michael Kay, 05/31/2005
- Re: [XOM-interest] serializing XOM objects, John Cowan, 05/31/2005
- Re: [XOM-interest] serializing XOM objects, Luca Passani, 05/31/2005
- Re: [XOM-interest] serializing XOM objects, Elliotte Harold, 05/31/2005
- Re: [XOM-interest] serializing XOM objects, Luca Passani, 05/31/2005
- Re: [XOM-interest] serializing XOM objects, Elliotte Harold, 05/31/2005
- Re: [XOM-interest] serializing XOM objects, Luca Passani, 05/31/2005
- Re: [XOM-interest] serializing XOM objects, Adam Constabaris, 05/31/2005
- Re: [XOM-interest] serializing XOM objects, Luca Passani, 05/31/2005
-
Message not available
- Re: [XOM-interest] serializing XOM objects, Michael Abato, 05/31/2005
- Re: [XOM-interest] serializing XOM objects, Wolfgang Hoschek, 05/31/2005
- Re: [XOM-interest] serializing XOM objects, Luca Passani, 05/31/2005
-
Message not available
-
Message not available
- Re: [XOM-interest] serializing XOM objects, Wolfgang Hoschek, 05/31/2005
Archive powered by MHonArc 2.6.24.