Bug 241670 - .war packaging of EJB components
Summary: .war packaging of EJB components
Status: RESOLVED FIXED
Alias: None
Product: WTP EJB Tools
Classification: WebTools
Component: jst.ejb (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.2 M6   Edit
Assignee: Carl Anderson CLA
QA Contact: Kaloyan Raev CLA
URL:
Whiteboard: JavaEE6
Keywords: plan
: 303917 (view as bug list)
Depends on: 303917
Blocks: 241666
  Show dependency tree
 
Reported: 2008-07-22 10:19 EDT by Kaloyan Raev CLA
Modified: 2010-03-04 02:48 EST (History)
1 user (show)

See Also:


Attachments
Initial support for creation of 3.x beans in WARs and WebFragments (16.37 KB, patch)
2010-03-04 00:45 EST, Carl Anderson CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kaloyan Raev CLA 2008-07-22 10:19:17 EDT
With the EJB 3.1 specification EJB beans can now be packed in Web module archives - .war
We should redesign Java EE project in a way to make such packaging possible. 

Article: http://blogs.sun.com/kensaks/entry/simplified_ejb_component_packaging
Comment 1 Kaloyan Raev CLA 2009-02-02 04:49:42 EST
Decommitting Java EE 6 support for WTP 3.1
Comment 2 Carl Anderson CLA 2010-02-25 13:14:21 EST
With the Module Assembly page, I verified that an EJB project can now be referenced/targetted to a Web project's WEB-INF/lib.  I also verified that an EJB jar file can be dropped into WEB-INF/lib.  Furthermore, WAR export correctly exports these EJB jars into a WAR's WEB-INF/lib.

So is this bug completed?  Or is there more to this bug that we need to accomplish?
Comment 3 Kaloyan Raev CLA 2010-02-25 13:45:03 EST
Carl, as far as I remember, some time ago we decided to split the work in two steps:
  1) implement packaging of EJB projects in Web projects
  2) implement creation and packaging of EJB artifacts in Web projects. 

As far as I understand step 1 is already done. So we can close the bug with this limited, but working state. 

Do we have a bug to track step 2?
Comment 4 Carl Anderson CLA 2010-03-04 00:22:42 EST
We might as well use this one to track step 2.
Comment 5 Carl Anderson CLA 2010-03-04 00:45:49 EST
Created attachment 160896 [details]
Initial support for creation of 3.x beans in WARs and WebFragments

This includes some fixes to problems introduced in bug 304595.  The initial changes committed for that bug keep us from creating EJBs in EJB projects.
Comment 6 Carl Anderson CLA 2010-03-04 02:46:50 EST
*** Bug 303917 has been marked as a duplicate of this bug. ***
Comment 7 Carl Anderson CLA 2010-03-04 02:48:05 EST
Committed to HEAD for WTP 3.2 M6.