This content has been marked as final. Show 4 replies
>If you want to make it simple for the end-user, and your app. has a GUI, deploy it using webstart.
Is there a way to somehow include the MySQL connector in one of my JARs so that a user does not have to have two JARs in one folder for one program to run? >
A single link can take them to the 'download' page that uses [deployJava.js|http://java.sun.com/javase/6/docs/technotes/guides/jweb/deployment_advice.html] to check a suitable minimum version of Java is available before inserting the link to the launch/install file. If the user 'follows the prompts' from there, they might end up with a single menu item to launch the app., and no visible Jars.
I provide some [examples of the webstart API|http://pscode.org/jws/api.html] that show some services available to apps. launched using webstart, of particular use for your project might be the ExtensionInstallerService to install the DB, and the PersistenceService to store the path the user chose to install it (you would offer them the choice, of course).
Java webstart also offers other nice features like splash screens, icons..
Again, check the licensing arrangements - you might show the MySql license when installing.