creating an installer for a java spring mvc app
any good tutorials on creating an insta开发者_C百科ller that will install a spring mvc web application, namely setting up tomcat and postgresql on someones desktop?
Best thing is to create a directory containing all stuff (tomcat+ webapp, postgresql) and a cmd script firing up the DB and appserver. Zip this up. Than, you can use a tool like http://www.advancedinstaller.com/java.html to wrap it up in an MSI file, that unzips the application, installs Java (if necessary) and create shortcuts. This is assuming the target platform is Windows. For other platforms you can use a similar approach.
精彩评论