New feature: Support for temporary files in File serializer

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

New feature: Support for temporary files in File serializer

Alessandro Vernet
Administrator
All,

We have just checked in some enhancements the File serializer, which
you can get in the latest nightly builds. The file serializer can now
automatically create temporary files and write to those temporary
files. It will also delete temporary files, based on a "scope"
parameter you specify in the configuration. As with the Scope
generator and Scope serializer, you can set the scope to either
"request", "session", or "application".

This can be useful when you want to generate files that are not served
right away, but will be served later. In some cases, it can be useful
when you want to keep around large amount of data (for instance for
the duration of the session), but you don't want to store that data in
the session to reduce memory usage.

You can find more about this in the documentation. With a recent
nightly build installed you can read it from (look for the new "scope"
configuration element):
http://localhost:8080/ops/doc/processors-serializers#file-serializer.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.com/


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws