Recently, I spent some time playing with Persevere, best summed up by its page:
The Persevere Server is an object storage engine and application server (running on Java/Rhino) that provides persistent data storage of dynamic JSON data in an interactive server side JavaScript environment…
Since it speaks JSON HTTP/REST, it’s an excellent candidate for integration with ExtJS. [...]