Hi,

I'd like to make a string available as an env entry via JNDI. The string is static but must be created dynamically at startup time of the webapp.

I have evaluated and implemented a listener which I have added to my context.xml. It listens for startup and shutdown events. It works pretty well. Rethinking this makes me ask whether a listener is the right thing to do.

Would an object factory a better approach for this?
Did I abuse the listener concept?

Code is available for inspection.

Thanks,

Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to