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 49339 - Call EJB menu item should not be active on interfaces
Summary: Call EJB menu item should not be active on interfaces
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Chris Webster
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-21 11:00 UTC by Petr Blaha
Modified: 2006-05-31 18:16 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 Petr Blaha 2004-09-21 11:00:03 UTC
Build 040918
I think, that Call EJB functionality is wasted for
service endpoint interface since:
 - lookup method is generated as private in public
interface
 - doesn't throw java.rmi.RmiException
 - return type isn't supported by JAX-RPC
Comment 1 Roderico Cruz 2004-09-21 17:57:34 UTC
I think the generated lookupMySession method was meant to be an
internal  utility method that can be used to get an EJB. It was not
meant to be exposed as a public method or for that matter, a web
service operation. 
Comment 2 Petr Blaha 2004-09-22 11:42:23 UTC
I agree, we should disable invoking Enterprise Resource - Call EJB
from pop-up menu when SEI is opened in editor.
Comment 3 Roderico Cruz 2004-09-22 17:09:35 UTC
But it is possible that a web service may want to call an EJB, so this
utility method will still be useful.
Comment 4 Chris Webster 2004-09-23 20:49:44 UTC
Changed title to reflect the intent of the issue.
Comment 5 Chris Webster 2004-09-24 17:58:27 UTC
Disable menu item on interface or elements within interfaces.
Comment 6 Chris Webster 2004-09-24 18:09:42 UTC
Fixed.
Comment 7 Petr Blaha 2004-10-05 15:10:39 UTC
Build 041005
Comment 8 Petr Blaha 2004-10-13 10:40:13 UTC
Remove all issues from temporary component.