Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

To Create Executable file for Servlet or JSP program  RSS feed

 
sr shashidhar
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi frndz,

As we know we can create executable JAR file for Standalone application using Swing/AWT(GUI) in core java which can be executed in all java installed machines directly instead of executing it from Eclipse always...

But i wan to know how to create such executable file for Servlet or JSP program.



Thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's not the way web apps work. Web apps are hosted remotely using an app server such as Tomcat. They're not intended to run locally like an executable program.

That said, there's probably some way to bundle a server and web app in an executable for running locally. It's not common, and it's certainly nothing I've ever considered doing.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!