Re: accessing the bootstrap mechanism

Posted by David E. Jones on
URL: http://ofbiz.116.s1.nabble.com/accessing-the-bootstrap-mechanism-tp140239p140240.html


In the serviceengine.xml file you can also use the startup-service element to execute services on startup.

-David

Rupinder Singh Mazara wrote:

> hi all
>
> while ofbiz is warming up   i need to execute a query and cache the
> results into some safe location.
>
> what is the best mechanism to achieve this ?
>
> i was think of assigning the resulting list from the query to the
> globalContext , but the basic issue is where to place the query so that
> it is executed at the startup of ofbiz
>
> thanks
>
>
>
>