Page 1 of 1

PersistenceService?

Posted: 20 May 2020, 20:31
by javaapp
We are interested in OpenWebStart, but puzzled that the PersistenceService has not been implemented. Our app uses this service to save a small number of user preferences values (a properties file would be fine).

Is there a recommended alternative to this functionality?
Will PersistenceService be implemented in future releases?

Thanks,
John

Re: PersistenceService?

Posted: 20 May 2020, 22:07
by Stephan Classen
Actually there is an implementation:
https://github.com/AdoptOpenJDK/IcedTea ... rvice.java

Could you paste the code which you use for trying to get an instance of the PersistenceService.

Re: PersistenceService?

Posted: 21 May 2020, 01:17
by javaapp
I stand corrected! I guess I fooled myself because looking at your features-table, I saw that PersistenceService is "greyed out" which means "Low priority Feature". I made the assumption that meant it was not implemented, though in fact it is as I have now proven with our app.

On windows, where is the persisted data stored?

Thanks!
John

Re: PersistenceService?

Posted: 21 May 2020, 01:29
by Stephan Classen
You should find it under

Code: Select all

%USER_HOME%\.cache\icedtea-web\pcache

Re: PersistenceService?

Posted: 05 Jun 2020, 15:29
by Michael Heinrichs
For clarification, initially we did an assessment of what is available in IcedTea-Web. Our impression was, that PersistenceService is implemented but incomplete. Analysing this more thoroughly and eventually fixing it, is low priority at the moment. Glad to hear, it already works for you.