I had inspired from the book: Pragmatic Project Automation to create a Ant script that performs from compiling source code, package and deliver. Recently I has done another approach to do it.

Preparation:
1. The Enterprise logo, user license, installation path and authentication
2. Default database
3. Release document

Procedure:
1. Install ISsetup tool 5.1.11 with ISTool support
2. Install Database Publishing Wizard from Microsoft
3. Create single SQL Script file from default database using the database publishing wizard
4. Use osql.exe to execute “SQL Script” to create the template database
5. Apply application as Windows service: Javaservice and JBoss setup
6. Uninstall from Windows

Advance:
1. Remove/backup files
2. License key/expiration/evaluation 90 days
3. Multiple language support
4. NSIS (Nullsoft Scriptable Install System)
5. JBoss Web comes with Windows service
6. ObjectWeb: JavaService
08-24-2007 update

When windows user logoff, java processes will be suspended. By default, Java services receive a CTRL_LOGOFF event from the operating system when the user logs out of Windows. As a result, all Java services would stop and shut down. To prevent this, Sun recommends using the JVM option flag -Xrs. This command is specified on the start-up of a Java process, and prevents the Java processes from terminating when a Windows CTRL_LOGOFF event occurs. For example at JBoss

Open /jboss-4.0.0/bin/run.bat

set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx1024m -Xrs

Advertisements