Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP Project Deployment

 
GSReddy
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic