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 244586 - Re-/Storing TopComponent persistence from a database
Summary: Re-/Storing TopComponent persistence from a database
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 8.0.1
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-19 11:14 UTC by Jerome_Oe
Modified: 2014-05-19 11:22 UTC (History)
0 users

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 Jerome_Oe 2014-05-19 11:14:30 UTC
It would be nice if it would be possible to store the persistence of TopComponents in a database and not in the local FileSystem.

The benefit would be an user specific persistency, independent from the machine on which the user has logged in.

If the user has logged in, his TopComponent configuration will be loaded from a database so that the user has always the same feeling of the application.

I know about the Roles API. In case of singleton TopComponents it's really nice but not with dynamically generated TCs. Also Roles API restricts to predefined modes, that is not wanted! Wanted is a feeling of total freedom for the user.


A suggestion is to add a readFromDatabase and a writeFromDatabase- method to the PersistenceManager(or even in a better place) and also a possibility to overrite them.

Eventually there have to be some restrictions on how the persistence files are stored in the database so that the PersistenceManager could easily generate his modestructure out of it.


Kind regards!