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

Summary: Hint that the interface cannot define both interfaces @Local and @Remote
Product: javaee Reporter: Martin Fousek <marfous>
Component: EJBAssignee: Martin Fousek <marfous>
Status: RESOLVED WONTFIX    
Severity: normal CC: dkonecny, pjiricka
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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