Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 366644

Summary: EJB project mapped to WEB-INF/lib of web project is imported as utility project
Product: [WebTools] WTP Java EE Tools Reporter: Roberto Sanchez Herrera <shr31223>
Component: jst.j2eeAssignee: Salvador Zalapa <zalapa>
Status: RESOLVED FIXED QA Contact: Chuck Bridgham <cbridgha>
Severity: normal    
Priority: P3 CC: ccc, shr31223, zalapa
Version: 3.3.1Flags: ccc: review+
cbridgha: review+
Target Milestone: 3.3.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 365349    
Bug Blocks:    
Attachments:
Description Flags
Patch shr31223: iplog+

Description Roberto Sanchez Herrera CLA 2011-12-13 17:47:33 EST
Bug for WTP 3.3.2 and 3.4

+++ This bug was initially created as a clone of Bug #365349 +++

Build Identifier: 3.2.5

Since EJBs in WAS is part of the EJB 3.1 specification, a EJB project mapped to WEB-INF/lib is a valid scenario, however when EJB jar if the EJB jar is imported as project, it is as Utility project instead of an EJB project.

Reproducible: Always

Steps to Reproduce:
1.Import the attached EAR file. Import the EJB as project.
2.Check the facets of the project EJB project. You will see the project is an utility project.
Comment 1 Salvador Zalapa CLA 2011-12-14 08:50:30 EST
Created attachment 208378 [details]
Patch
Comment 2 Chuck Bridgham CLA 2011-12-14 09:30:50 EST
approved
Comment 3 Roberto Sanchez Herrera CLA 2011-12-14 12:43:29 EST
Code committed to R3_3_maintenance and HEAD for WTP 3.3.2 and 3.4