Problem description and solution:
With the NB 6.0 pack consolidation into a single coherent piece we've achieved a pretty good simplicity and consistency of main menus. That is true also for
the IDE with all packs installed. There's still a few things missing. One of them is special menu items for Java DB in Tools menu. Those menu items should be
replaced by similar UI we use for application servers. It means integrating Java DB into the Services tab.
Note that even though I'm filing this issue as part of the 6.1 planning, the real intention is to address this issue in one of the upcoming releases.
I am surprised and somewhat pleased to see this issue logged, as the same thought has come into my mind. I have been
thinking about how to provide better support for MySQL and PostgreSQL in terms of start/stop, bring up admin console,
etc., and this requires having DB servers under Services->Databases.
Is there an existing UI spec for what you are thinking of doing for Java DB support?
There's no existing UI spec that I know of.
The motivation in this case comes from cleaning up the main menu. But I know that the web or DB team mentioned this a few times as well. I don't know if
there was any outcome. Please talk to Petr Jiricka or Pavel Buzek. Thanks.
Before spending time on start/stop for PostgreSQL I suggest you talk to Josh Berkus. I asked him about it when he was in
Prague this fall, and his response was that users usually start their servers by other means (automatically on system
Keeping it very simple, just relocating actions to under the Databases folder. Please see spec linked to from "URL" for
Please review this spec. Note it has already gone through an extensive review on the usability alias, so you might want
to refer to that thread for background.
Strictly speaking the spec needs to go through the updated review process only if it modifies the Services Window permanent UI spec, which means in case
you want to introduce, remove or change a top level node in the permanent spec. The spec is at http://wiki.netbeans.org/ServicesWindow. I'm removing
the review keyword as your UI spec doesn't seem to propose it.
A few thoughts on your proposal... My opinion is that what you're proposing is okay as a short term solution (for 6.1). Maybe as the IDE currently only
supports a single Java DB, this setup would be more appropriate:
Java DB Server
jdbc:derby://localhost/sample [sample on APP]
I would suggest to put the Java DB Server node to the top and present all actions in it's contextual menu. No need for another sub-node IMO.
For later releases something along the lines of "Database Servers" would be more appropriate.
Checked in revision 1152f09ab9a7