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.
I have this setup: A JavaSE project "MyJavaProj" (yes, it does use JavaEE API. But since the project will only serve as lib to other JavaEE project, I set it up as a normal Java proejct): .... ${root.dir}/JavaSEProj/src/mypack/ejb/MyMDB.java .... An JavaEE/MDB project "MyMDB" (depends on MyJavaSEProj): ... ${root.dir}/MDBproj/src/conf/ejb-jar.xml ... Apparently the reason why I have this setup is that the same "MyMDB.java" class will be re-used by JavaEE projects other than "MyMDB". Now when I set up "MyMDB" project, the wizzard doesn't provide the capabililty for me to choose "mypack.ejb.MyMDB" as the implementation of the MDB I want. It seems to force me to choose/create a class inside the "MyMDB" project. I am not sure whether this is intended or a bug. I believe the j2ee 1.4 spec does not provent the use of implementation class from a Jar file as long as the jar file is specified in the MANIFEST.MF file of the EJB jar.
Which wizard do you mean?
The "new EJB component" wizard: Right click the EJB project node -> new -> Enterprise -> Message-Driven Bean (I think same for session beans) -> next -> Name and Location Now in here, you can only select/create the implementation classes within the current EJB project. The bug/enhancement would be - you should be able to select classes from other projects on which the current EJB project depends on as well.
Ok, so I am changing this to enhancement. The question is if this functionality should be in wizard or in visual ejb-jar.xml editor.
Why not both? ;)
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss