• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Distributed Web Application

 
Ranch Hand
Posts: 389
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
Please verify the explanations given by me for the following question on distributed web application.
Ques: You are developing a web application which will be distributed across multiple JVMs. Which of the following will you NOT do?
1.depend on sessionActivated / sessionPassivated methods to do critical tasks.
Explanation: There is no such method defined for any listener so choice # 1 is wrong.
2.depend on URL rewriting for implementing session
Explanation: session can be migrated to a different JVM. This could be done.
3.depend on sendRedirect to redirect a request
Explanation: The sendRedirect method could be used to redirect a request to a servlet in a different JVM so this could be done.
4.depend on attributes kept in the context scope
Explanation: This is the right choice. This should not be done.
5.depend on attributes kept in a session
Explanation: This could be done.
Thanks
Ravi
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think the answers are right. It just let you find out the undoable ones.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic