Unfortunately EJB does not define such a container start/stop event. It's something being
considered for a future revision of the spec.The best way to portably receive such notifications
is to define a web application and register a ServletContextListener that defines the
contextInitialized and contextDestroyed methods.If you put the .war in the same .ear as the
ejb-jar, you can just lookup the necessary ejbs and invoke them from the web application
event callbacks.
--ken