0 Replies Latest reply on Apr 11, 2006 4:47 AM by garyfisher

    Create MDB instance on startup

    garyfisher

      Hi,

      sorry if this is a FAQ, but I really tried hard to find it the docs and in the wiki.

      I'd like to create a singleton MDB during the server startup. I've already configured it to be the singleton MDB, but I'm not able to configure it to create the only instance during JBoss startup. The bean is created with the first incoming message. I'm using the MDB to start Spring context and Hibernate session factory so it takes a long time to initialize.

      I'm using version 3.2.6

      Thank you for reply,
      Pavel