• 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

JSP Caching?

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello all,
Please let me know what is meant by caching of a JSP page.There is an article in javaworld, which discusses tag libraries used for jsp caching.
thanx in advance
with regards
Kiran
 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Very cool implementation of tags......very sophisticated.....
what it effectively does is eliminate the number of roundtrips back and forth to the database server. It keeps often-requested data in the "session" memory area set-aside for the user.
However, this is done at the expense of the APPLICATION Server's memory.....so watch out !!! App servers already have a huge appetite for RAM.....this makes it worse.
Another idea to provide the same effect is to use static page INCLUDE directives that are periodically recompiled when the data changes.....
<%@ include file="xyz.jsp"%>
however, this approach is not practical for data stored for each user...only for each APPLICATION.
The cache taglib permits caching of individual user data.....
big difference.
 
kiran mahavir
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank for the reply Mark Simms
with regrads
kiran
reply
    Bookmark Topic Watch Topic
  • New Topic