2 Replies Latest reply on Nov 6, 2003 9:22 PM by setya

    Can I do this using Custom MBean ?

    setya

      Hi all,

      I need to establish database connection when JBoss starts using Custom MBean. After I get the connection I want to register the connection using JNDI to be called later when my client apps run.

      This way I want to minimize the initial delay when the first time my client apps run because the database connection already placed in the connection pool.

      Is it possible to achieve the above scenario using Custom MBean ?

      Any advice would be greatly appreciated.

      Setya

        • 1. Re: Can I do this using Custom MBean ?

          Yes.

          e.g. One side affect of the JMS jdbc2 persistence manager is
          that the connection pool it uses is filled when it
          performs the recovery at startup.

          Regards,
          Adrian

          • 2. Re: Can I do this using Custom MBean ?
            setya

            > Yes.
            >
            > e.g. One side affect of the JMS jdbc2 persistence
            > manager is
            > that the connection pool it uses is filled when it
            > performs the recovery at startup.
            >
            > Regards,
            > Adrian

            Thanks for the response,

            We haven't implemented JMS technology yet.
            Do you really think that there is any performance gain on the first apps startup if I implement the scenario ?

            Setya