This week's book giveaway is in the General Computing forum.
We're giving away four copies of Emmy in the Key of Code and have Aimee Lucido on-line!
See this thread for details.
Win a copy of Emmy in the Key of Code this week in the General Computing 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
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

Another qn from ICE 287 Sample test

 
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi friends
Is A the correct answer for this one ? I think so because this listener object is notified when it is bound to or unbound from a session. So it won't be having information about the whole session or about other objects stored in the session. Am I right ?
A class is created which implements the HttpSessionBindingListener interface and an instance is created in a web application. Which of the following would be the MOST common use of the features of such an object?
A. The relationship between the object's internal state and the persistent representation can be synchronized when the object is stored in or removed from the HttpSession.
B. The object can be used to monitor the usage of the HttpSession to provide information to detect performance problems caused by HttpSession usage.
C. When the HttpSession is invalidated the object can manually ensure all objects stored in the HttpSession are correctly removed to prevent memory leakage.
D. Multiple HttpSession objects relating to the same client can be combined to avoid application data loss in situations where a client is required to reauthenticate.
Select the best answer.
Thanks
Vipin
 
author
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Vipin,
I must compliment you on your understanding of that interface.
I think you've got it!
 
Vipin Mohan
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Howard ! I hope my question was not too simple ?
Vipin
[ December 02, 2003: Message edited by: Vipin Mohan ]
 
See ya later boys, I think I'm in love. Oh wait, she's just a tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!