File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes JSP Project Deployment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP Project Deployment " Watch "JSP Project Deployment " New topic
Author

JSP Project Deployment

GSReddy
Greenhorn

Joined: Aug 28, 2007
Posts: 10
i have developed an application using jsp and servlets , in Netbeans IDE , after completely deploying the Netbeans Project , i got a WAR file
I want to convert WAR file to exe file , in order to run the application as standalone application

Is there any process to do this ???

Please help me out

thanks in advance
Swathi
Tarun Yadav
Ranch Hand

Joined: Sep 20, 2007
Posts: 134
You can't do that! You need to get your fundamentals clear on this. Just as you can't run a Java application without a JRE, you can't run a web application without a proper environment which is provided by the container.

EDIT: As for WARs, it's basically a JAR which is basically a ZIP file. So it's not a compiled executable as you might be mistakenly assuming; it's simply a zipped archive with a different extension. You can easily extract it's contents and you'll see that it's all the same stuff that you put into a web-apps directories; your libraries, your compiled classes, JSPs, HTML pages etc.
[ October 03, 2007: Message edited by: Tarun Yadav ]
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

As Tarun Yadav has correctly stated.
A Java web application is, essentially, a plugin component to a Java Application Server and can not be deployed as a standalone application.

If you wanted that, you probably shouldn't have written it as a web app.
Why didn't you use Swing?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
jQuery in Action, 2nd edition
 
subject: JSP Project Deployment
 
Similar Threads
how to create a EAR file using Netbeans.
Creating a jar (not war) file from a netbeans Web Application Project
deploying war file on weblogic 9.2
Creating a jar (not war) file from a Netbeans Web Application Project
Where GlassFish 3.0.1 in Windows XP save deployed projects?