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 144539 - [65cat]Call Enterprise Bean doesn't allow to select a another EJB project as a reference
Summary: [65cat]Call Enterprise Bean doesn't allow to select a another EJB project as...
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 blocker with 2 votes (vote)
Assignee: martin_adamek
URL:
Keywords:
: 145123 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-08-20 09:16 UTC by rajivderas
Modified: 2008-09-12 07:11 UTC (History)
1 user (show)

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 rajivderas 2008-08-20 09:16:49 UTC
Steps to Reproduce:
1) Create two EJB Module projects and add some dummy methods with empty implementations
2) The in the editor open one EJB Module projects bean file and right click and select 
Insert code action
3) From insert code action select Call Enterprise Bean
4) The Call Enterprise Bean dialog appears and select the other EJB Module projects bean
It will not enable the ok button as well it displays an error message with the lable 
"Enterprise Bean does not support references".

I used ejb 3 with glassfish v2 and my Dev Build 200808191401.

I did the same steps in 6.1 and the ok button of the Call Enterprise Bean dialog got enable and it worked normally.
Comment 1 mperezma 2008-08-26 12:35:12 UTC
I think it have nothing to do with ejb being in a different project. You can't either call enterprise bean within the
same project. You can't call any enterprise bean with REMOTE interface. I've tried calling from servlet, from app client
with no luck. If the enterprise bean have LOCAL interface, you have not problem calling it, neither from other project,
from the same project, from a servlet (but you can't call LOCAL EJBs from app client..) I've submitted issue #145123
Comment 2 rajivderas 2008-08-26 12:53:05 UTC
*** Issue 145123 has been marked as a duplicate of this issue. ***
Comment 3 martin_adamek 2008-09-05 12:22:18 UTC
Should be fixed now. Please verify.
Comment 4 rajivderas 2008-09-12 07:11:04 UTC
Tested within the following environment and works properly
Dev Build 200809101401
JDK 6 Update 10
Windows XP