Hi Nicolas, Take a look at this: http://tapestry.apache.org/tapestry5.1/tapestry-ioc/startup.html
Benny On Mon, May 31, 2010 at 10:50 AM, Nicolas Gillet - MARKET-IP < nicolas.gil...@market-ip.com> wrote: > Hello, > > I am looking for a way to execute a piece of code only once at server > startup. > > I want this in order to check if my database is empty (and then at the > mandatory default records). > > So the context must be already initialized in order to user my manager/dao. > > Is this possible on T 5.1 ? and obviously how ? > > Thank you =) > > Nicolas > > Gillet > > > >