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 72063 - Call Enterprise Bean generation
Summary: Call Enterprise Bean generation
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Adamek
URL:
Keywords:
Depends on: 73803
Blocks:
  Show dependency tree
 
Reported: 2006-01-31 15:05 UTC by Martin Schovanek
Modified: 2006-08-30 09:54 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 Martin Schovanek 2006-01-31 15:05:00 UTC
[#200601302300 - Nb5.5 Preview, jdk1.5.0, GlassFish Build 32 21-Dec-05]


to reproduce:
-------------
1) create Java EE5 Eenterprise Aplication
2) create a Stateless Session Bean and a servlet
3) choose 'Enterprise Resources > Call Enterprise Bean' from servlet's popup
4) choose the session bean node in the Call Enterprise Bean dialog
ERROR: "Already referenced as local and remote" err message appears and OK
button is disabled.
Comment 1 Petr Blaha 2006-01-31 20:27:35 UTC
This feature isn't supported for EJB 3.0. I suggest to disable the Enterprise
item on pop-up menu for EJB 3.0 stuff now.
Comment 2 smichea 2006-03-26 19:05:00 UTC
same problem with 2006-03-24 daily built version 
Comment 3 Martin Adamek 2006-04-18 13:59:03 UTC
Already fixed. Call EJB is now supported.
Comment 4 Martin Schovanek 2006-05-02 11:50:09 UTC
Still reproducible in #200605020200, reopening.
Comment 5 Martin Schovanek 2006-05-02 14:48:41 UTC
WORKAROUND: add @Local annotation into the local SB interface
Comment 6 Martin Adamek 2006-05-02 16:29:34 UTC
Fixed in release55 and release5_beta. @Local is now generated by default
(already reported).
/cvs/j2ee/ejbcore/src/org/netbeans/modules/j2ee/ejbcore/api/codegeneration/SessionGenerator.java,v
 <--  SessionGenerator.java
new revision: 1.1.2.8.2.4; previous revision: 1.1.2.8.2.3
/cvs/j2ee/ejbcore/src/org/netbeans/modules/j2ee/ejbcore/api/codegeneration/SessionGenerator.java,v
 <--  SessionGenerator.java
new revision: 1.1.2.8.2.1.6.2; previous revision: 1.1.2.8.2.1.6.1
Comment 7 Martin Schovanek 2006-05-02 18:03:45 UTC
The interface file should be saved after generating the @Local annotation.
Comment 8 Martin Schovanek 2006-06-07 16:43:08 UTC
The original problem was fixed, priority changed to P3.
Comment 9 Martin Adamek 2006-08-30 09:54:58 UTC
It was fixed with issue 73529