3 Replies Latest reply on Feb 27, 2006 6:10 AM by triathlon98

    Clustered Entity beans

    asafz

      I'm new to ejb3,
      I'm trying to use the TreeCache for the second level cache.
      I used the same example as in the admin guide but I cannot see the treeCache being used at all.

      does some one have an persistence.xml example of a cluster deploy?

      which syntax i have to use:
      <entity-manager>
      cal
      <jta-data-source>java:/DefaultDS</jta-data-source>



      </entity-manager>


      or:


      <persistence-unit name="manager1">
      <jta-data-source>java:/DefaultDS</jta-data-source>
      <jar-file>../MyApp.jar</jar-file>
      org.acme.Employee
      org.acme.Person
      org.acme.Address




      </persistence-unit>



      thanx

        • 1. Re: Clustered Entity beans
          asafz

          does aby one has a working cluster entity bean example
          I just want to know hoe to configure the persistence.xml

          thnx,

          • 2. Re: Clustered Entity beans
            asafz

            I still dont know how to use the clusterd entity bean.
            I dont see it access the TreeCache.

            does anyone can help me and write to me a working persistence.xml file

            its very important to me and i cannot get on with jboss cluster until i'll get it working

            thanx.

            • 3. Re: Clustered Entity beans
              triathlon98

              You have to change your persistence.xml file to indicate the clustered entity cache to be used.