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

Summary: EJB name different from the one specified
Product: javaee Reporter: arungupta <arungupta>
Component: EJBAssignee: Andrey Yamkovoy <kaktus>
Status: RESOLVED FIXED    
Severity: blocker CC: dkonecny, pjiricka
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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