Community
Participate
Working Groups
Steps to reproduce: 1. Start in empty workspace. 2. Create new Web 2.5 project. 3. Invoke the Session Bean wizard. 4. The project field displays the Web 2.5 project selected. Although it make sense to create new EJBs in Web 3.0 projects, this is not true for Web 2.5 ones. Same issue with the Message-Driven Bean wizard.
This regression is caused by bug 241670. There we enable creation of EJB 3.x beans for Web 2.5, Web 3.0 and Web Fragments 3.0. Carl, do you remember why we considered Web 2.5 as a valid destination for EJB 3.x beans? I thought EJBs in WARs is JEE 6 use case only.
I know that the scenario that we need to support is having a Web 2.5 web.xml in a Web 3.0 faceted project. I can't remember why I explicitly included Web 2.5 faceted projects as a valid target... they shouldn't be.
Created attachment 172521 [details] Limit Web projects to those with a Web 3.0 or greater facet.
Thanks, Carl! I went ahead and committed the patch into HEAD. I assume you are already on vacation.