Question:
how to make a java web application to a single file?
2013-04-17 22:29:38 UTC
i created a web application using java as front end and sql server as back end. i finished it. if i use it in other computers i need to connect database again. so i want that completed project as a single file. what can i do for that? i have no ideas. its a web application. how can i make it as a single file. can anyone solve my problem.?
Three answers:
TANZEELA
2013-04-17 22:38:48 UTC
In Java a web app can be packed into a single file called Web ARchive or war file . the tool you're using will provide you the facility to do that .. For example in netbeans go to debug > clean and build . and you'll have the file in the projectName > dist> projectName.war



Deploy that file on your server .



As with the data base , remember war file does not include any database . it has to be handled separately . For this you have to use mysqldump that comes with mysql .



mysqldump is used to make a backup file of database.





If you need any furthure help you're most welcome

Hope that helps
?
2016-11-04 03:22:09 UTC
to apply all java functionalities during the internet you would be able to desire to apply java applets. Java applets fluctuate from java purposes interior the reality that they don't have a considerable approach and are not executable. They run with the aid of a browser and could be embedded in an HTML or own living house page report. in case you choose an undemanding editor I advise you acquire BlueJ.
Darkangel
2013-04-17 22:36:26 UTC
If you have made the database in sql server as .mdf format then it is little difficult to access in other computer. try using .sdf format which is a Sql Server Mobile file then you will be able to make your application run on other computer ..



http://social.msdn.microsoft.com/forums/en-US/sqlce/thread/fd3b14c5-5474-4ad9-b373-b6385881780f



Hope this helps

Have a nice day !


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Continue reading on narkive:
Loading...