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 54991 - Enhance the Entity Beans creation workflow
Summary: Enhance the Entity Beans creation workflow
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB (show other bugs)
Version: 4.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Martin Fousek
URL: http://j2ee.netbeans.org/nonav/docs/e...
Keywords: UI
Depends on:
Blocks:
 
Reported: 2005-02-15 15:58 UTC by Petr Blaha
Modified: 2013-09-09 06:52 UTC (History)
6 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Blaha 2005-02-15 15:58:25 UTC
According to the sanjeev krishnan e-mail:
 The CMP Bean Wizard should explicitly say that it
is for generating a CMP bean from an existing
database schema (I found this out the hard way
much later, see below). BUG.
The "JDBC Connection" choice should be renamed to
something like "Import a database schema". BUG.
                                                 
                                        - I select
Database Schema and click Next, it expects me to 
   Select Database Schema Object from a filesystem
tree, obviously I have none.
The "Database Schema" choice on the 1st screen
should be renamed to     "Select an existing
Database Schema file", to make this clear. BUG.
Comment 1 jrojcek 2005-02-24 17:08:55 UTC
I am not sure what UI version the bug is refering to (whether the current implementation 
or a previous one). Anyway, the current implementation should be brought up in synch 
with the spec, which I believe provides enough guidence and description how to proceed 
in the wizard:

* step list and step titles should be corrected
* descriptions should be provided (not in the title border!)

Please have a look at the spec in the URL field. Thanks.
Comment 2 John Jullion-ceccarelli 2005-03-10 13:17:01 UTC
Please use the UI keyword to identify all bugs that affect the UI. Pavle, is
there going to be more explanatory text added to this wizard? If so, when will
it be integrated and which resource bundles will it affect?
Comment 3 _ ttran 2005-03-19 18:14:01 UTC
taking over this one
Comment 4 _ ttran 2005-03-19 22:12:12 UTC
Hmm, it's not simple at all.  The current impl of the CMP bean wizard and the UI
spec are not consistent with each other.

The UI spec says the user can select any .dbschema file to generate CMP beans from.

In the current impl there is a combobox which lists the available .dbschema. 
When I looked at it firstly, the list was empty, the conresponding radiobutton
was grayed and I had no idea how to enable it.

Then I went ahead and generated CMP beans from jdbc connection.  (Ran into bug
56667).

Later on when I invoked the CMP wizard again I see one .dbschema file offered.  
This was generated as a byproduct of the cmp generation!!

Comment 5 _ ttran 2005-03-19 22:16:41 UTC
this doesn't look like P3 to me.  Needs to be resolved one way or another before
we ship
Comment 6 Petr Jiricka 2005-03-21 12:40:45 UTC
Adding Jiri Kopsa to cc. Jirko, how do we need to change the UI (and the spec)
to make it more understandable? 
Comment 7 Petr Jiricka 2005-03-21 12:41:01 UTC
Adding Jiri Kopsa to cc. Jirko, how do we need to change the UI (and the spec)
to make it more understandable? 
Comment 8 Vince Kraemer 2005-03-21 17:17:40 UTC
Additional comment from ttran:


the UI spec says textfield.  The IDE has combobox.  Either the spec is
wrong or the impl is wrong, or both.  Fix it.

I hope I made it very clear now

Comment 9 Rochelle Raccah 2005-03-22 21:05:26 UTC
Note that the ui used to look more like the spec (EA1?), but was then changed. 
So, perhaps it was from HIE input that was not yet distilled into the spec?
Comment 10 Martin Adamek 2005-03-24 13:36:59 UTC
CMP Fields part:

/cvs/j2ee/ejbjarproject/src/org/netbeans/modules/j2ee/ejbjarproject/ui/logicalview/ejb/entity/CMPFieldsNode.java,v
 <--  CMPFieldsNode.java; initial revision: 1.1
/cvs/j2ee/ejbjarproject/src/org/netbeans/modules/j2ee/ejbjarproject/ui/logicalview/ejb/entity/EntityChildren.java,v
 <--  EntityChildren.java; new revision: 1.7; previous revision: 1.6
/cvs/j2ee/ejbjarproject/src/org/netbeans/modules/j2ee/ejbjarproject/ui/logicalview/ejb/shared/DDEditorNavigator.java,v
 <--  DDEditorNavigator.java; initial revision: 1.1
/cvs/j2ee/ddloaders/src/org/netbeans/modules/j2ee/ddloaders/multiview/EjbJarMultiViewDataObject.java,v
 <--  EjbJarMultiViewDataObject.java; new revision: 1.38; previous revision: 1.37
Comment 11 Martin Adamek 2005-03-30 06:09:56 UTC
Sorry, last commit log doesn't belong to this issue.
Comment 12 Jiri Kopsa 2005-03-30 13:08:29 UTC
This issue was discussed very heavily but any final conclusion was not yet
reached. Current implementation allows the user to choose a DBSCHEMA file
contained in the project folder.

An enhancement might be to allow the user to use an external DBSCHEMA in the
same way as an external WSDL file can be used to create a web service.

We agreed with docs and Peter J. to accept the current state for promo-E.
However, the use cases and workflow need to be revised and enhanced in promo-F.

I'm changing the summary field, switching this to an ENHANCEMENT for promo-F and
assigning to me. The UI spec will be updated along with other changes.
Comment 13 Rochelle Raccah 2005-04-01 01:44:03 UTC
As far as choosing a dbschema from outside, see related issue 55232.
Comment 14 Petr Blaha 2006-03-13 13:48:08 UTC
TM 5.0 -> TBD
Comment 15 Jiri Kopsa 2006-08-16 16:44:31 UTC
Reassigning to Jano, who works on Java EE.
Comment 16 Martin Fousek 2013-09-09 06:52:55 UTC
Closing as WONTFIX since the CMP bean wizard is obsolete feature which was already removed from the IDE.