JAVA WEB App with Installer

Asked

Viewed 43 times

0

I need to make a slightly different application, I’ve seen something similar in PHP, the famous Wordpress or Joomla, they work like that:

You download a zip and unzip in the web server directory (apache example), access the context URL (eg: http://localhost/Mywordpress), at that point the application checks if there is a directory named "install", if it exists it redirects the user to that application (install), this in turn opens a Wizard that helps the user configure the BD (among other things), in the end it renames this directory "install" and redirects the user to the initial context (application already configured).

Someone has done something similar in Java?

To this day, my applications always rely on BD configuration to climb tomcat, ie, if the BD is not configured the application or goes up, in this case I imagine that the application could not require BD in start.

  • Man if you know how to create files already and a step given, in my understanding a simple way, would be you create a code that generates a text file, with the data that the person entered, from this point you take the connection data by example from inside that file. At the end you make the check whether the file with the data exists, if yes goes straight to the site, if no installation screen.

  • Exactly guy... I thought of something very similar, I just don’t know if it would be the best way, but I think it will have to be around. Thanks so much for the help!

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.