• 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 Performance Improvement Tips

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
Can any body list out the performance improvement guidelines one needs to follow while developing Web Applications using JSP. Assuming that in these Web Apps we are not using any MVC Architecture..
What are the tools available that can suggest some improvement guidelines or scan through the JSP page and gives a report with which portion of it is taking how much amount of time..

Thanks in Advance
Sateesh
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Off the top of my head:
1. Premature optimization is the enemy of working code. - (translation - get it working first, then optimize)
2. Avoid excessive object creation (the usual argument for using StringBuffer when assembling strings.)
3. Cache chunks of output that are hard to create in the first place but don't change very often. (For example, a list of news items drawn from moreover.com only needs to be recreated every hour or so.)
4. Use a connection pool instead of creating a DB connection for every transaction.
Bill
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic