Java Preference Alternative

I use the Java settings API to store and retrieve small pieces of information in a swing / java application.

Now I have Java Web setup to run the application from my web page, and I get a security exception. To get rid of this exception, I would have to ask the user for permission. And I refuse to do this because my application does nothing, which will require user permission.

This is why I need an alternative solution to store several key values ​​from one execution to another. Some kind of cookie or something else. Do you know please?

+9
java java-web-start preferences
Jul 30 2018-11-21T00:
source share
1 answer

You might want to learn about PersistenceService , a Java Web Start function that "provides methods for storing data locally on the client system, even for applications running in a limited execution environment." Related examples can be found here and here .

+11
Jul 31 2018-11-11T00:
source share



All Articles