OSGi Preferences Service
This page collects all the original posts appeared in the OSGi Look on this topic. Check also the OSGi Recipes for more articles and tutorials
The OSGi Preferences Service provides a general and multiplatform mechanism to store user and application settings in a OSGi Container
Available implementations
OSGi Preferences Service by Example
A common question asked by new Java developers is what’s the best solution to store user-specific or application settings. Of course, it is always possible to designate a particular folder (for instance /etc/myapp) in the filesystem to that use, but that often represents a limit for the application portability (what happens if it doesn’t run on Windows?). That’s the reason the Java Preference API was designed.
OSGi of course is not immune to that problem; an OSGi bundle may run in any device supporting a R4 OSGi container, and therefore needs…
