3 Replies Latest reply on Feb 27, 2006 6:10 AM by Joachim Van der Auwera

    Clustered Entity beans

    asaf zinger Newbie

      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