Uploaded image for project: 'WINDUPRULE - Red Hat Application Migration Toolkit rules'
  1. WINDUPRULE - Red Hat Application Migration Toolkit rules
  2. WINDUPRULE-118

Stateful Session EJB Clustering changes in EAP 7

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 2.5.0.Final
    • None
    • EAP6 -> EAP7
    • None

      EAP 7 no longer requires Stateful Session EJBs to use the org.jboss.ejb3.annotation.Clustered annotation to enable clustering behaviour. By default, if the server is started using an HA profile, the state of SFSBs will be replicated automatically. Disabling this behaviour is achievable on a per-EJB basis, by annotating your bean using @Stateful(passivationCapable=false), which is new to the EJB 3.2 specification; or globally through the configuration of the EJB3 subsystem, in the server configuration.

      Note that the @Clustered annotation, if used by an application, is simply ignored, the application deployment will not fail.

      When: app contains EJBs with annotation org.jboss.ejb3.annotation.Clustered
      Perform: alert the user about the new behaviour in EAP 7.

            mbriskar_jira Matej Briskar (Inactive)
            emartins@redhat.com Eduardo Martins
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: