PersistenceService?

The public knowledge pool and discussion forum of the OWS community. Do not post confidential information here!
javaapp
Posts: 15
Joined: 20 May 2020, 18:34

PersistenceService?

Post 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

Stephan Classen
Posts: 40
Joined: 27 Mar 2020, 09:55

Re: PersistenceService?

Post 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.

javaapp
Posts: 15
Joined: 20 May 2020, 18:34

Re: PersistenceService?

Post 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

Stephan Classen
Posts: 40
Joined: 27 Mar 2020, 09:55

Re: PersistenceService?

Post by Stephan Classen »

You should find it under

Code: Select all

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

Michael Heinrichs
Posts: 1
Joined: 24 Apr 2020, 10:55

Re: PersistenceService?

Post 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.

Post Reply