Chapter 11. Make Your Application Location-Independent

Most applications store user preferences or configuration information. For example, some applications store the size and positions of windows used, directories selected for importing and exporting files, and other default values. Because these preferences are saved, the user does not have to reenter them when using the application again.

Remembering the user's preferences becomes more complicated if the application is shared (for example, if the application is accessed from a network file system) and if the application may be run by many users. In such a scenario, the application may need to keep a database of preferences for each user or store the preferences in the home directory of each ...

Get LDAP Programming with Java™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.