Vadim Gritsenko wrote:...
Upayavira wrote:
(or am I making some wrong assumptions, e.g. can the CLI and the servlet share the same persistent cache?)
If they (CLI/Servlet) produce cache entries with the same key -- then this will work.
So two completely different processes can access the same store file without conflict?
No, of course there will be conflict. One at a time, please. First -- run CLI, when finished -- start servlet. Only other option is to have CLI and servlet access *same* bean instance, which is possible (only?) when CLI accessing it over the wire.
Vadim
