That blog is pretty old and there are no updates... You really might want to try those other alternatives... What exactly do you mean by 'adding persistence'?
Hi Siarhei, thanks for the reply.
adding persistenceI mean I'd like to be able to use a single maven command to build an in-memory db (eg HSQLDB) using any entities in my project, load it with sample data then fire up Jetty to run my Seam app.
When I run the app I built with Petr's Archetype (mvn jetty:run) it seems to be actually building the DB, though not loading it up (AFAICT from the logs) but the app can't access it. Not sure if that's because the persistence configuration in the app is slightly wrong somewhere or if it's totally cactus.
Most likely this is a persistence configuration issue. Make sure your persistence.xml (probably should be in src/main/resources/META-INF) contains hibernate.hbm2ddl.auto which has value 'create-drop' and you have import.sql with the insert statements (most likely should be in src/main/resources), those two conditions are mandatory for the database being built-up and filled with data.
If you're talking about data fixtures for tests then refer to Seam reference.