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 208865 - "Bean Methods" exposed even when EJB has no no-interface
Summary: "Bean Methods" exposed even when EJB has no no-interface
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-26 21:25 UTC by David Konecny
Modified: 2012-04-13 09:52 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 David Konecny 2012-02-26 21:25:35 UTC
Enterprise Beans node shows EJB and their remote interface methods, local interface methods and (I assume) no-interface methods. no-interface methods should be shown only when EJB has no-interface. See "4.9.8 Session Bean’s No-Interface View" chapter in EJB spec.
Comment 1 Martin Fousek 2012-02-27 06:39:00 UTC
(In reply to comment #0)
> Enterprise Beans node shows EJB and their remote interface methods, local
> interface methods and (I assume) no-interface methods.

Not fully sure about "Bean methods" folder purpose in the past, were there really no-interface methods?  On the other hand that folder wouldn't have big benefit in other cases.

So I agree that it should show no-interface methods.

The second question is, shouldn't it be renamed to "No-interface methods" since this title is more straightforward?
Comment 2 David Konecny 2012-02-27 21:33:57 UTC
(In reply to comment #1)
> Not fully sure about "Bean methods" folder purpose in the past

Me neither. :-)

> shouldn't it be renamed to "No-interface methods" since
> this title is more straightforward?

Bean methods or no-interface methods sounds both OK to me. You would think that @LocalBean should have been named @NoInterface. I think it is actually better the other way around: instead of no-iterface EE spec should have always used "local bean" term. But that one is so close to Local Interface and I guess to avoid confusion and to be more clear "no-interface" was chosen. I want to say that both names are ok to me but if I had to pick one it would be "Bean Methods".
Comment 3 Martin Fousek 2012-02-28 08:08:08 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Not fully sure about "Bean methods" folder purpose in the past
> 
> Me neither. :-)
> 
> > shouldn't it be renamed to "No-interface methods" since
> > this title is more straightforward?
> 
> Bean methods or no-interface methods sounds both OK to me. You would think that
> @LocalBean should have been named @NoInterface. I think it is actually better
> the other way around: instead of no-iterface EE spec should have always used
> "local bean" term. But that one is so close to Local Interface and I guess to
> avoid confusion and to be more clear "no-interface" was chosen. I want to say
> that both names are ok to me but if I had to pick one it would be "Bean
> Methods".

My hot candidate was the second one. :) Nevermind, lets stay with "Bean Methods" since nobody wonders about the meaning of that title for now - so it's hopefully understandable enough.
Comment 4 Martin Fousek 2012-04-12 15:11:14 UTC
Fixed in web-main #8378e984e04c.
Comment 5 Quality Engineering 2012-04-13 09:52:12 UTC
Integrated into 'main-golden', will be available in build *201204130400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/8378e984e04c
User: Martin Fousek <marfous@netbeans.org>
Log: #208865 - "Bean Methods" exposed even when EJB has no no-interface