0

I have one doubt about WAR file........

Like i am creating a project with mysql databse and deploying it through WAR file

My question is if i want to deploy it on some other machine then i am copying war file there in webapps folder.........but do you think it war file will hold tables and DB used for application or i need to make DB there also

Please let me know this

4
Contributors
3
Replies
4
Views
10 Years
Discussion Span
Last Post by dinezhr
0

Only for lab project purposes, where something like MS Access is used, which in my opinion should never be considered as a legitimate DB.

With MySQL no its not possible.

0

I have one doubt about WAR file........

Like i am creating a project with mysql databse and deploying it through WAR file

My question is if i want to deploy it on some other machine then i am copying war file there in webapps folder.........but do you think it war file will hold tables and DB used for application or i need to make DB there also

Please let me know this

War file contains only the web app files like jsp,sevlets and other java files and other resources i could not have database.. So the database is need to be exported from devevelopment place to deployment place. If the database has pre existing values then database need to be exported otherwise we can create a brand new database in the deployment place..

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.