Initial data on a new client deployment

19 views
Skip to first unread message

vieira

unread,
Dec 19, 2011, 5:15:58 PM12/19/11
to jmatter
Hi, i need to package an application in mac, so i'm using macappbundle
target with ant. My problem is that i don't know how to distribute
this with initial data on it (i'm using H2)... this is useful to have
filled in reference tables, etc...

Any ideas?

Thanks in advance!
Carlos V.

Eitan Suez

unread,
Dec 19, 2011, 6:17:29 PM12/19/11
to jma...@googlegroups.com
hi carlos,

fyi..i no longer develop jmatter.. with that said, here are some thoughts..

i think the original idea was for the clients to be configured with
a shared database that's not running on their own machine.

but i've done projects in the past where this was not the case: we
used the h2 database as a local db that was periodically synch'ed to a
database on the server (i think i used json marshalling to send and
receive data). there may have been an initial synch on webstart
installation that fetched initial data..

/ eitan

> --
> You received this message because you are subscribed to the Google Groups "jmatter" group.
> To post to this group, send email to jma...@googlegroups.com.
> To unsubscribe from this group, send email to jmatter+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/jmatter?hl=en.
>

vieira

unread,
Dec 19, 2011, 6:35:59 PM12/19/11
to jmatter
Hi Eitan, yes i know that jmatter is not being developed anymore, but
it's very practical to prototyping for example.
In this case, i need to use H2 embeded database. For this purpose, do
you remember if there is any practical option so i can insert that
initial data? For example, is there any place where i can check on
first application launch, and then execute a automatic insert on
tables.

Thanks,
Carlos V.

Reply all
Reply to author
Forward
0 new messages