users@glassfish.java.net

Re: EJB Deployment listener

From: <glassfish_at_javadesktop.org>
Date: Tue, 05 Aug 2008 08:54:13 PDT

I always end up using an .ear and packaging a .war just for the benefit of being able to use a web.xml file and specifying a lifecycle listener. That's what you can do if you want your resource on deployment.
See this site for an example: http://www.java-tips.org/java-ee-tips/java-servlet/how-to-work-with-servletcontextlistener.html
[Message sent by forum member 'joshua_77' (joshua_77)]

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