This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes To Create Executable file for Servlet or JSP program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "To Create Executable file for Servlet or JSP program" Watch "To Create Executable file for Servlet or JSP program" New topic
Author

To Create Executable file for Servlet or JSP program

sr shashidhar
Greenhorn

Joined: Jan 17, 2013
Posts: 27
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

Joined: Jan 10, 2002
Posts: 60741
    
  65

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: To Create Executable file for Servlet or JSP program
 
Similar Threads
Servlet or Jsp Performance
Where the servlet file of JSP is stored after it got created?
How to create executable java files( jar )
Is it true that JSP creates Servlet java code ?
JSP TagLib and Servlets or Beans??