[GLASSFISH-19310] Ensure methods declared on Object class are not exposed as business methods of the no-interface view Created: 09/Nov/12  Updated: 19/Sep/14

Status: Open
Project: glassfish
Component/s: ejb_container
Affects Version/s: 4.0_b62_ms6
Fix Version/s: 4.1

Type: Bug Priority: Major
Reporter: marina vatkina Assignee: Srini
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


3.4.4 Session Bean's No-Interface View: Only public methods of the bean class (and any superclasses, except methods declared on the java.lang.Object class) may be invoked through the no-interface view.

GF already filters methods declared in Object (EjbOptionalIntfGenerator), this a tracker bug to investigate/fix any issues with the support.

Comment by Srini [ 18/Nov/12 ]

Support exists in GF already, convert to a tracker bug

Comment by marina vatkina [ 20/Nov/12 ]

equals (and hashCode) for the no-interface view must follow the rules defined in EJB 3.2 (Core) spec, section 3.4.7 Session Object Identity. Currently they use Object.equals and (even worse) allow bean developer to override it (that latter case must result in a warning).

Generated at Sat Sep 05 09:34:43 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.