7 Replies Latest reply on Jul 27, 2003 11:07 AM by slaboure

    Clustered CMP Entity Bean

    masj

      I am trying to get the data in a clustered entity bean to be replicated throughout my entire JBoss 3.2.1 cluster. What I want to do is when changing the state of the bean on one server, the state of the corresponding bean on the other servers should change too. Is there something wrong in my deployment descriptors, perhaps?

      Thankful for reply

      Mattias Sjberg, Sweden

        • 1. Re: Clustered CMP Entity Bean
          darranl

          As I understand it this feature is not available in any of the production releases of JBoss at the moment.

          I know that there was talk of entity bean replication being implemented but I am not sure how far it has got.

          • 2. Re: Clustered CMP Entity Bean
            masj

            If there is no support for clustered entity beans in JBoss, does anyone know how one usually does to achive a similar behaviour?
            I have implemented something that I would like to call a hack: calling a BMP entity bean which inserts/updates/deletes the data on all servers in the cluster. It must be possible to do this some other way?
            MySQL, which I am using, does not support active-active replication, could this otherwise be used to solve the problem?

            -Mattias

            • 3. Re: Clustered CMP Entity Bean
              darranl

              I have heard that using a distributed database with active to active replication could quite easily lead to more problems.

              The databases will queue up the requests to be replicated and it can aparently be quite easy to start working with old data on a different node.

              • 4. Re: Clustered CMP Entity Bean
                sdev

                Is it possible to cluster a Entity Bean that uses CMP and CMR. If so in which version of jboss.

                Thnks in Adv.

                • 5. Re: Clustered CMP Entity Bean
                  sdev


                  Does any version of JBoss support Clustering for an Entity Bean that uses CMP and CMR.

                  • 6. Re: Clustered CMP Entity Bean
                    jbossbhanu

                    Can we do

                    Clustered BMP Entity Bean

                    • 7. Re: Clustered CMP Entity Bean
                      slaboure

                      You never have notions of "clustered entity beans" where the actual state is clustered: this is always delegated to the DB (check with BEA, WS, etc.) Sometimes you can get a distributed cache (such as the one in the forthcoming 4.0). in 3.x, entity beans have clustered proxies, not state.


                      sacha