This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 52417

Summary: [Cat1-10] Add EJB module archive
Product: javaee Reporter: Petr Jiricka <pjiricka>
Component: CodeAssignee: Vince Kraemer <vkraemer>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P1    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Petr Jiricka 2004-12-14 19:57:47 UTC
Add J2EE module to J2EE application by selecting
the EJB module from more varied sources, such as a
freeform project (perhaps if the developer used
XDoclet). This action configures the Deployment
Descriptor. Helps with server specific files.
Comment 1 Vince Kraemer 2005-01-04 00:26:34 UTC
The user can add projects, libraries or jars to the enterprise
application project.

Projects can be added to an app in the following ways:

1. Add Project menu item in the project's context menu.
2. Add Project button of the Project Packaging customizer.

all projects added to app trigger the following changes in the project
files:

1. reference added.
2. build-impl.xml augemented to build the dependent project
3. if the project provides a J2eeModule, the application.xml is
augmented to reference the file.

Jar files added to a enterprise app trigger the following:
1. reference added
2. build-impl.xml augmented to package the jar into the ear
3. if the jar has ONE AND ONLY ONE of the standard descriptors
(web.xml, application-client.xml, ejb-jar.xml, ra.xml) the
application.xml file is augmented to reference the file.

I cannot test this against the FF EJB project at this time.
Comment 2 Petr Blaha 2005-01-20 09:53:22 UTC
Build 20050119