create a bean on webapp startup  
Author Message
Mounir AITTAHAR





PostPosted: 2006-8-14 17:45:00 Top

java-programmer, create a bean on webapp startup Hi,

Unsuccessfully web browsing makes me come here.

I wonder if it's possible to create a bean (used by <jsp:use-bean>) on
startup, also through web.xml. I've seen it is possible to launch a
servlet with <load-on-startup> xml element, but, as I believe I've
understood, it is NOT a persistent object.

So, i'm asking if :
- is this possible to create a persistent object through a servlet
lauched at startup ?
- is there a different way ?

Regards,

--
Mounir