[opencms-dev] Persistent Storage

Justin Stanczak rizenine at gmail.com
Fri Jan 25 14:46:59 CET 2008


Ok, thanks. The caching sounds like a good start. Is there an example of
this, or how I should do this in my jsp? I'll begin by looking in the docs
that are on my install, but do you have a better example?

On Jan 25, 2008 5:57 AM, Sebastian Himberger <sebastian.himberger at gmx.de>
wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> regarding persistent storage: Since OpenCms 7 now includes a HSQLDB
> maybe you can fire up an embedded database as a module and use this (if
> you want to be independend of the underlying VFS db implementation) but
> i wouldn't use this for large datasets. But maybe it is worth a thought.
>
> For your example case: I would start using the cache. This should take
> you a long way. If you want to display additional information from the
> audio file (i.e. ID3-tags) i would maybe read them in and store them in
> the file properties so that OpenCms takes care of caching and
> performance for you.
>
> best regards,
> Sebastian
>
>
>
> Justin Stanczak schrieb:
> | When creating JSP pages is there a method of storing data that OpenCMS
> | provides. Like maybe a JSP that creates an XML document. What I'm
> doing is I
> | want to read some audio file in a folder and create a JSP page that
> lists
> | those files. But I though it would be more efficient to store the
> results
> | instead of rereading the folder each time. Or is this what cache is
> for? For
> | this instance cache may work, but I was thinking if I had an application
> | form and wanted to store it on the server. If anyone could point me in
> the
> | right direction? Thanks.
> |
> |
> |
> | ------------------------------------------------------------------------
> |
> |
> | _______________________________________________
> | This mail is sent to you from the opencms-dev mailing list
> | To change your list options, or to unsubscribe from the list, please
> visit
> | http://lists.opencms.org/mailman/listinfo/opencms-dev
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFHmcCqVKBy6qoVEvwRAhueAKDAhSkJpg/W58l5vD8LdJ50t9y2GgCdF3NJ
> k24VPV4BBRH/6H0831lH/kI=
> =dAq7
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>



-- 
"All that is necessary for the triumph of evil is that good men do nothing."
- Edmund Burke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20080125/68b896e4/attachment.htm>


More information about the opencms-dev mailing list