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 225050 - Hint that the interface cannot define both interfaces @Local and @Remote
Summary: Hint that the interface cannot define both interfaces @Local and @Remote
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-18 09:03 UTC by Martin Fousek
Modified: 2016-07-07 08:56 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Fousek 2013-01-18 09:03:48 UTC
According to the EJB3.2 (section 4.9.7) specification but it applies for earlier EJB versions probably as well:
"The same business interface cannot be both a local and a remote business interface of the bean. It is also an error if the Local and/or Remote annotations are specified both on the bean class and on the referenced interface and the values differ."

We could create hint for this check.
Comment 1 Martin Balin 2016-07-07 08:56:23 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss