users@glassfish.java.net

Re: Standard way of initializing an application

From: heapifyman <heapifyman_at_gmail.com>
Date: Tue, 27 Jan 2009 09:58:59 +0100

glassfish_at_javadesktop.org schrieb:
> Hi Sahoo,
>
> thanks for your reply.
>
> The cache is a very simple Apache JCS cache containing round about 500MB of data. The cache should not necessarily survive a server restart.
>
> The reason for my question is that I want users access a data model which is approved to be integrity checked.
>
> What I planned to do is to have a MDB for that processing a cache rebuild message. This is not the problem-
> My problem is when and where to send the cache rebuild message from.
>
> I don't know what is the recommended here.

I don't know if this is recommended and I don't really know about your
application but couldn't you use a servlet with <load-on-startup> ?