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.
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
I fixed problem ii, and have a patch for problem i.
Fixed in the web-main. Changeset: bc768dc11996
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).