Now that the MovieMon application is a server application , I am proposing the following changes to install script :
-
Install script should be responsible for installing the db and creating directories(where we store our meta-data) only.
The db tables should be created during server start up.
-
The distribution bundle should contain the war file, bat files and the db installation files.
-
Or another way is to install Hsql db during server start up too.. Hsql gives the flexibility here as it is a java based db. The server during startup can actually check for the db installation file , if its not there can create it newly.
Now that the MovieMon application is a server application , I am proposing the following changes to install script :
Install script should be responsible for installing the db and creating directories(where we store our meta-data) only.
The db tables should be created during server start up.
The distribution bundle should contain the war file, bat files and the db installation files.
Or another way is to install Hsql db during server start up too.. Hsql gives the flexibility here as it is a java based db. The server during startup can actually check for the db installation file , if its not there can create it newly.