Is it possible to persist data in Gigaspaces XAP 8 without resorting to an SQL database ? My application doesn't really have anything to do with SQL, and it would be a huge hassle to restructure everything to mirror the typical SQL design. But in the terrible XAP 8 documentation, only Hibernate/SQL is mentioned as possible persistence.
All I really want is for the data I put in my Space to not disappear when I restart XAP or my Processing Unit.
Disclaimer:
In principle, since everything in your space should be serializable (if not, replication wouldn't work), you can simply write everything to a file. But this is a very bad idea, because you would have to serialize everything every time. A database handles the storage format for you, synchronization, it prevents corruption, it provides indexes...
Any non trivial persistence requirement will raise technical issues which would be too expensive to solve "in-house". Database are the right solution to use when persistence is required.
Good news: GigaSpaces provides you what you are looking for is Space Dump and Reload, based on the space copy API.
If you look at the end of the page, you see the following note:
In fact, it is backed by a database, H2SQLDB, which is probably populated through reflection