users@glassfish.java.net

Standard way of initializing an application

From: <glassfish_at_javadesktop.org>
Date: Mon, 26 Jan 2009 23:21:46 PST

Hi,

this is an architectural question and it might be easy to answer, but I don't see how this should work.

My application has a very expensive startup: It needs to create caches, fill static data into databases using JPA.

My question now: [i][b]"Where and how to put startup/initialization code so that it is performed directly after deployment?"[/b][/i]

Thanks for your help,
Sebastian Mahr
[Message sent by forum member 'smahr' (smahr)]

http://forums.java.net/jive/thread.jspa?messageID=328329