0 Replies Latest reply on May 6, 2004 6:00 AM by tbech

    Post action after deployment

    tbech

      Hi all,
      I need to add some post actions after the deployment.
      The best would be on the entity bean layer - when entity bean is deployed it launches my hook (method). I need such a method to make some configuration in DB (create some data) and launched only once (just after deployment)
      If possible for whole ear/jar explain me how.

      For now I found container-intreceptors but I cannot find any documentation how to write interceptor which handles the delpoyment of bean.

      The solution which I don't like is to call some bean/servlet page which does post-deployment configuration, but I prefer automatic actions.
      Thanks,

      Tom