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 dont know if this is a bug or not -- but in the Cart and CartClient examples of the nb4_1 j2ee Tutorial -- in ejb section -- we have: CartRemote shoppingCart; public interface CartRemote extends EJBObject, CartRemoteBusiness { } shoppintCart.remove() is valid method -- but code completion does not show it as an option. it would be NICE if inheritable methods from interfaces implemented or extended showed up.
It seems that a jar file containing 'javax.ejb.EJBObject' is missing on your project classpath. Add the jar file and everything should be OK
Created attachment 99025 [details] zip of projects
the code builds and runs; but the inheritable method does not show in the editor.
Well, I've tried to open the attached projects - Cart opens fine and it's compilable, however opening CartClient results in unresolved reference problems. If I resolve missing reference to 'javaee.jar', everything is OK - shoppintCart.remove() is shown in code completion. Have you tried to run IDE with a clear userdir?
do you main a "new" .netbeans/6.9 directory ??? which version of javaEE were you using for you javaee.jar ???
strangely today with fresh start of netbeans the "remove" method appears. but -- i previously changed the javaEE version from gfv3b18 to gfv211; i will now change to reference gfv3b18 to see what happens ... the error -- re-appears after changing to reference appserv-rt.jar, and javaee.jar in glassfish/lib of gfv3b18. i did clean and build of both Cart, CartClient; also exited, restarted netbeans. using same .netbeans/6.9 userdir
I see - the problem is that current j2se projects ignore class-path attribute in jar manifest. *** This bug has been marked as a duplicate of bug 105927 ***
*** Bug 178939 has been marked as a duplicate of this bug. ***