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 171876 - No actual code is inserted by Insert->Call Enterprise Bean
Summary: No actual code is inserted by Insert->Call Enterprise Bean
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Andrey Yamkovoy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-10 09:17 UTC by Alexei Mokeev
Modified: 2009-09-13 21:03 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 Alexei Mokeev 2009-09-10 09:17:01 UTC
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
Comment 1 Andrey Yamkovoy 2009-09-11 14:39:19 UTC
Fixed in the web-main.

Now variable, initialized by lookup method call also generated for the class.
Comment 2 Quality Engineering 2009-09-13 21:03:45 UTC
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