• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

JSP Project Deployment

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic