2 Replies Latest reply on Aug 30, 2002 5:48 PM by sgturner

    Exposing cache as MBean

    marc.fleury

      If one of you wants to earn wings, here is a deep one. The cache from the EJB containers should be exposed as MBeans (name to be discussed) and the entries in the cache must be invalidated manually. It requires removing the CacheKey as a wrapping structure to the primarykey but that is not really heavy work.

      This is the first step. At the end of the day I want to be able to use the JMX bus to manually invalidate an entry in it.

      Second step will be aggregation of the cache and centralized management of it.

        • 1. Re: Exposing cache as MBean
          cjoplin

          Sounds interesting, any pointers on how to get started?

          • 2. Re: Exposing cache as MBean
            sgturner

            Marc,

            I've been playing around with the code on this one and have gotten something that seems to work. Probably made a mess of it, but perhaps if it can be the starting point for discussion, and with insights from others I can code up the best solution. Anyway, should I just check in the code and see what happens?