• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Comparing context and session attributes

 
Siddharth Naik
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone please help me compare servlet context (application) attributes and session attributes from performance point of view? Which is faster to retrieve and update at runtime? Where are they stored - in RAM or server hard disk?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65229
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any performance difference would be completely negligible and should not be used as a basis on your decision. Use the context that makes the most sense.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic