[jbosstools-issues] [JBoss JIRA] (JBIDE-14034) CDI EAR - EL suggestion box does not contain EJB beans

Marián Labuda (JIRA) jira-events at lists.jboss.org
Wed Apr 17 01:50:53 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-14034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12767839#comment-12767839 ] 

Marián Labuda commented on JBIDE-14034:
---------------------------------------

ad 1: I use JBDS 
Version: 6.0.1.GA
Build id: GA-v20130327-2052-B361

ad 2: Projects are created through wizards (CDI -> CDI Web project & EJB -> EJB project. There isn't support for maven by default and i didn't add it into the projects.

ad 3: I hadn't added CDI support for EJB project before I created this issue. I tried it add a moment ago, but it didn't worked. Still beans are not visible (in suggestionBox there are no proposals), but after deployment of the project it works.

I have also tested managed beans (injected EJB beans from EJB module into CDI beans in WAR module and adding EJB module to the classpath of the WAR module) and there it works - EJB module has to have added CDI support and to be on the classpath of the WAR project. But I don't know, if it's desirable to add EJB on that classpath in every case, however it is not required (as I wrote, project had deployed and had worked without adding EJB to the classpath of the WAR, but problem with EL still existsed).
                
> CDI EAR - EL suggestion box does not contain EJB beans
> ------------------------------------------------------
>
>                 Key: JBIDE-14034
>                 URL: https://issues.jboss.org/browse/JBIDE-14034
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: CDI
>            Reporter: Marián Labuda
>            Assignee: Alexey Kazakov
>             Fix For: 4.1.x
>
>
> 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)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jbosstools-issues mailing list