4 Replies Latest reply on Oct 7, 2003 9:10 AM by mkprim

    CMP  Beans with local interface

    mkprim

      Is there any problem if I try to set up a cluster, using local ineterfaces for the CMP Entity beans?
      Will this work in the cluster or is it possible that the replication could fail?
      Thanx,
      Marcelo

        • 1. Re: CMP  Beans with local interface
          darranl

          Which version of JBoss are you using?

          I am not sure what features have gone into JBoss 4 but the previous versions do not support entity replication, data is shared by using a common database.

          • 2. Re: CMP  Beans with local interface
            mkprim

            I'm using JBoss 3.0.8, but I read the documentation, and it says that versions 3.0.x already have in-memory SB & EB replication
            I want to know if you can set up a cluster and use local home interfaces for the entity beans.

            • 3. Re: CMP  Beans with local interface
              darranl

              Which documentation are you looking at?

              Stateful session beans do have in memory replications but entity beans do not.

              Entity beans are clustered by using locking on the backend database.

              • 4. Re: CMP  Beans with local interface
                mkprim

                OK, i didn't know that. I''ll have it in mind for development.
                Ok, if that kind of "replication" is made in de DB, is there any problem to use the local interfaces for the EJB if iI use a facade pattern with the session beans?