What's the best way to integrate a MySQL Database (no SQLite) and a Webserver like Apache with PHP functionality into a Java Desktop Application? I need to be able to access the Database from Java and the webserver via a webbrowser, PHP is querying the same MYSQL Database as Java. I thought of somehow packaging XAMPP in the Application Installer and then call the specific start batch files from Java but that seems to be kind of a hackish way to me. How is something like this typically done?
Thanks in advance,
Stefan