Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Runnig web appication like windows application

 
Hasif Subair
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have created a web application. Now i need to create a setup file for it and run on a local machine without any network connections. Is it possible??
 
Steve Luke
Bartender
Posts: 4181
21
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are levels of answers to this question.

First, if you really want to leave the code as-is, then yes, you can. Your setup file would need to install a servlet engine on the client machine, and running the program would entail opening a local web browser and using the localhost domain for navigating the web application. But that is probably a pretty big installation, and could lead to security considerations, so it probably isn't the best thing to do. As a result I would suggest it is a better idea to write up a new UI using desktop UI components (like Swing) and use it to control your application.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic