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 170392 - EJB name different from the one specified
Summary: EJB name different from the one specified
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Andrey Yamkovoy
URL:
Keywords:
: 171368 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-14 18:24 UTC by arungupta
Modified: 2009-09-04 03:52 UTC (History)
2 users (show)

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 arungupta 2009-08-14 18:24:15 UTC
In NB 6.8 M1, creating a bean with the name "StateBean" creates the class name as "StateBeanBean".

I think either the user should be provided a cue for the changed name or the name be preserved.

This may not be a regression but the behavior is slightly confusing.
Comment 1 Petr Jiricka 2009-08-14 19:16:54 UTC
I think this is important -> P2.
Comment 2 Andrey Yamkovoy 2009-09-01 15:53:38 UTC
Fixed in the web-main.

Now the default bean name in the wizard will be with "Bean" suffix. The generated bean class name will be exactly the
same as in wizard. Interfaces will be created with additional corresponding suffix.
Comment 3 David Konecny 2009-09-03 01:20:22 UTC
*** Issue 171368 has been marked as a duplicate of this issue. ***
Comment 4 Quality Engineering 2009-09-04 03:52:49 UTC
Integrated into 'main-golden', will be available in build *200909032054* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/e8b4a27dbffb
User: Andrey Yamkovoy <kaktus@netbeans.org>
Log: Fix for #170392 - EJB name different from the one specified