Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-16524

[7.1][GSS] Clarify IIOP can be used with EJB3 that have an EJB2 view in the docs

    Details

      Description

      Remove or clarify IIOP calls can only be done with EJB2 beans.

      The JavaEE spec requires the EJB via IIOP have a RemoteHome which is traditionally EJB2, but you can use EJB3 annotations to specify @RemoteHome, so not supported for EJB3 should be more like to use IIOP with EJB3, your EJB3 requires an EJB2 view which is the RemoteHome as required by the JavaEE spec and is shown in the docs example.

      EJB2 would have a Remote/RemoteHome as required by the spec and be configured with ejb-jar.xml instead of annotations and then IIOP would be enabled on it the same as the EJB3 (via jboss-ejb3.xml or by enabling iiop on all ejbs via the standalone-full.xml).

      @Remote(IIOPRemote.class)
      @RemoteHome(IIOPBeanHome.class)
      @Stateless
      public class IIOPBean {
      
      IMPORTANT
      IIOP calls can be done only with EJB 2 beans. EJB 3 beans are not supported by IIOP in JBoss EAP 7.2.
      

      https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.2.beta/html-single/developing_ejb_applications/#configure_iiop_for_remote_ejb_calls

      IMPORTANT
      IIOP calls can be done only with EJB 2 beans. EJB 3 beans are not supported by IIOP in JBoss EAP 7.0.
      

      https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.1/html-single/developing_ejb_applications/#configure_iiop_for_remote_ejb_calls

      IMPORTANT
      IIOP calls can be done only with EJB 2 beans. EJB 3 beans are not supported by IIOP in JBoss EAP 7.1.
      

      https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.0/html-single/developing_ejb_applications/#configure_iiop_for_remote_ejb_calls

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  lmodemal Lydie Mode Malivert
                  Reporter:
                  lmodemal Lydie Mode Malivert
                  Tester:
                  Francesco Marchioni
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: