Win a copy of Pipeline as Code this week in the Cloud/Virtualization forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

When do webapps start and close down?

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)!!!
 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Morning came much too soon and it brought along a friend named Margarita Hangover, and a tiny ad.
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic