I have done one mini project, it is working fine. But how can i convert it in to EXE file. i want to run it in to another machine.
Technologies used are : java, jsp , servlet , weblogic server and backend ms-Acess
If you convert a desktop application Java project into EXE, you will not be able to run it on computers which doesn't support the Windows exe format. If you really need to do such conversion, please SearchFirst.
Rajendra Prakash wrote:Technologies used are : java , jsp , servlet , weblogic server and backend as ms-Access.
As Harpreet has already mentioned, this question doesn't make much sense with these technologies. It sounds seriously like a web application - not a desktop application. What do you mean by converting a web application (which runs on a web server) into the EXE (which is for desktop applications)?
That's simply not possible. You may be able to create an installer* that installs the server and deploys the WAR file, but that's as close as you're going to get. Keep the licensing in mind if you do this - you may not be allowed to redistribute the server installer this way. You'll have to check that out first. If you're not allowed to or you can't get the installer to work you have no other option than to require a separate server installation, then deploy the WAR file.
* If you search around you will find several tools. A few for Windows only I can name without searching are NSIS and InnoSetup.
Now i have one WAR file. i want to run this in another machine. what should i do. just consider two machines A and B. In machine A i developed that project (WAR file ) , now i want to run it on Machine B. You said this is possible by web server. should i install web server in machine B also ?
Joined: Mar 22, 2005
No, it's not a web server that's needed, it's a servlet container (just about all of which also serve as a web server, but the reverse is not true).
An alternative would be what I proposed in my previous post.
But you haven't told us why the web app needs to run on that other machine (instead of accessing the already running web app instance on machine A over the network). That's the point of web apps, after all.