0 Replies Latest reply on Nov 20, 2011 9:50 AM by Radu Rendec

    Persisting MBean attributes [JBoss 5.1.0]

    Radu Rendec Newbie

      Hi,

       

      I want to make a service bean persist the attribute values across re-deployment (or application server restarts). I already know this can be achieved by describing the attributes in xml, but I would like to do it through annotations only (rather than having to write a separate xml). Is it possible to do it like this? Perhaps by adding a custom PersistenceManager to the bean?

       

      Thanks,

       

      Radu Rendec