Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

When do webapps start and close down?

 
Stefan Elfvinge
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hallo, I've been discussing this with several fellow students but none of us are sure. The question is, if you surf to a webapp(jsp:s, servlets working against a db), does the container start the webapp when the server acknowledges the request via the URL? And when does a server "close down" an application for a client? When the client closes the browser? When the he surfs to an entirely different URL? Or when???
It would help a lot to get an answer to this question(if there is a general one)!!!
 
M.K.A. Monster
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure but I think closing a browser will just shutdown the javawebstart applet. And when you use javawebstart application, this application will not shutdown when you close the browser, because a Javawebstart application is started using a jnlp file (a sort of startup file), and just loaded like any other java-application.
I hope this suits you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic