Application package, including java war, Tomcat, DB file

I have a Java based web application, I have the source code as well as a war file, the application uses mySql and needs some kind of web server like tomcat, which needs to be added to some package that can be install directly on window and linux machines directly.

I need to configure DB, WebServer and application at a time. It would be great if he could create services for everyone.

is it possible?

I mean, the user should just specify the location to store, and everything should be stored at a time, is this possible? and if so, advise me how to do it ...

+4
source share
1 answer

In short: Yes, it is.

Projects like XAMPP are already following this approach. All relevant software components are located in one ZIP file, which you can extract to any place on the user's hard drive. The entire configuration then uses relative paths when accessing files.

In fact, you will need to make a little effort to make the "installation" as simple as possible. Maybe you can just build a project like XAMPP and use the infrastructure already provided?

+5
source

All Articles