Online pre-configuration of JEE web applications
I'm looking for example of jee web applications that has pre-configuration feature.
I mean first time opening web application in the browser, jump to installation / configuration page and allow
1. configute all of parameters, like database, user, password etc
2. run db script
3. other installation tasks
I do such analyze to know, which way is preferrable - add web-based pre-configuration feature to web application or build classic installer. (InstallAnywhere, Install4j)

Comments
The most comprehensive one I know, although not full automated is hudson, https://hudson.dev.java.net/
it's has several options:
1. just download .war and run it java -jar hudson.war
2. download war and deploy it to any web container (to tomact: webapss/)
Hudson will work out of box with default and will enable you to manage it's plugins, upgrades through the web interface.
Are there any commercial web application with such feature?
Is it good enough to add such online feature instead of classic offline installer ?
JIRA has similar option, see http://www.atlassian.com/software/jira/docs/v3.13/setup.html
I think it's a good feature and make installation more elegant and easy.
JIRA is really good example
Thanks a lot