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 182220 - Call EJB does not work for Maven projects in the remote case
Summary: Call EJB does not work for Maven projects in the remote case
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Andrey Yamkovoy
URL:
Keywords:
Depends on: 178971 179698
Blocks:
  Show dependency tree
 
Reported: 2010-03-17 14:49 UTC by Petr Jiricka
Modified: 2010-04-22 04:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2010-03-17 14:49:24 UTC
1. Create a Maven Enterprise Application project with EJB module
2. Create a simple Maven project (library), change its source level to 1.5
3. In the EJB project, create a session bean with remote interface, generate the remote interface in the library
4. Add a simple business method
5. Create a Maven web project
6. Create a class in the web project
7. Invoke Call EJB in this class and select the EJB created in step 3, generate call as remote.

There are several problems with this scenario:
i. Can not do step 3, see bug 179698
ii. Exception in step 7, see bug 178971
iii. After step 7, the library is not added to the web project's classpath
Comment 1 Petr Jiricka 2010-03-17 15:57:34 UTC
I fixed problem ii, and have a patch for problem i.
Comment 2 Andrey Yamkovoy 2010-04-21 14:42:41 UTC
Fixed in the web-main.
Changeset: bc768dc11996
Comment 3 Quality Engineering 2010-04-22 04:35:10 UTC
Integrated into 'main-golden', will be available in build *201004220200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/bc768dc11996
User: Andrey Yamkovoy <kaktus@netbeans.org>
Log: Fix the issues related to adding ejb reference when declaration and implementation of EJB are in different projects (for more info see issue #182220).