Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-14034

CDI EAR - EL suggestion box does not contain EJB beans

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 4.1.0.Beta1
    • None
    • cdi
    • None
    • Hide

      1. Create WAR project and add it to EAR project (e.g. with wizard)
      2. Create EJB project and add it to the same EAR project.
      3. Create any session EJB bean in EJB project and add @Named annotation.
      4. Create some view in WAR project (e.q. home.xhtml).
      5. Start typing name of named EJB bean a try to open suggestionBox with proposals.
      6. EJB bean is not included in proposal list.

      However, after building and deploying application works.

      Show
      1. Create WAR project and add it to EAR project (e.g. with wizard) 2. Create EJB project and add it to the same EAR project. 3. Create any session EJB bean in EJB project and add @Named annotation. 4. Create some view in WAR project (e.q. home.xhtml). 5. Start typing name of named EJB bean a try to open suggestionBox with proposals. 6. EJB bean is not included in proposal list. However, after building and deploying application works.

      While testing CDI EAR in JBDS i found out, that EJB beans from EJB module are not visible through EL in WAR module.

      EARProject
      --WARProject (view e.g. home.xhtml)
      --EJBProject (EJB session bean e.g. stateful bean)

            alexeykazakov Alexey Kazakov
            mlabuda_jira Marián Labuda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: