1 Reply Latest reply on Jan 13, 2008 11:53 AM by Brian Stansberry

    only EJBs3 clustering

    Yan Falken Newbie


      is it possible to cluster only EJB3 persistence layer and to have one one of the nodes the non-clustered webapplication?


        • 1. Re: only EJBs3 clustering
          Brian Stansberry Master

          Sure EJB session beans are only clustered if annotate them @Clustered or mark them as such in jboss.xml. Web apps are only clustered is you mark them as "distributable" in web.xml. Don't do those things but use TreeCacheProviderHook as the 2nd level cache provider for EJB3 persistence, and you've got what you described.