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.
Steps to reproduce: 1. Create a web project with Servlet and EJB 2. Open servlet code in the editor 3. Select appropriate place, e.g inside processRequest and choose Insert Code->Call Enterprise Bean from popup menu 3. Select EJB and press OK. Only lookup method will be added to the servlet class and no modifications in place where you actually invoked Insert... It is expected to have at least variable, initialized by lookup method call. 20090908 build, Linux, JDK 6u14, GF v3 b62
Fixed in the web-main. Now variable, initialized by lookup method call also generated for the class.
Integrated into 'main-golden', will be available in build *200909131354* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/64c3c50a0019 User: Andrey Yamkovoy <kaktus@netbeans.org> Log: Fix for #171876 - No actual code is inserted by Insert->Call Enterprise Bean