File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Performance and the fly likes Performance enhancement of existing JSPs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Performance
Bookmark "Performance enhancement of existing JSPs" Watch "Performance enhancement of existing JSPs" New topic

Performance enhancement of existing JSPs

Muni K Reddy
Ranch Hand

Joined: Aug 23, 2007
Posts: 74
I have recently joined a Banking Tech group where I see plenty of JSP's, Javascripts and html pages. Is there any way I can reduce the bandwidth utilized by using certain tools to reduce the size of file?
How do I identify the problem areas?
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13036
The first thing to do is start measuring to define what part of the whole system consumes unreasonable amounts of resources. The JAMON toolkit can make a start with minimum disruption to the existing system.

If network "bandwidth" is in fact being stressed, you might look into use of CSS and AJAX to reduce the volume of browser requests.

Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33102

You can also use a compression filter on your web app to reduce the bandwidth delivered to render the same content. It's like sending a zip file instead of the full one.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
steve souza
Ranch Hand

Joined: Jun 26, 2002
Posts: 862
if you use tomcat, jboss, or jetty as your web container jamon can also measure the ammount of bytes sent back to the client. This will allow you to see if any are candidates for a compression filter. A compression servlet filter is very easy to implement and almost always will help or certainly won't hurt. - a fast, free open source performance tuning api.
JavaRanch Performance FAQ
Muni K Reddy
Ranch Hand

Joined: Aug 23, 2007
Posts: 74
Thanks! I shall attempt to download JAMON today!
I agree. Here's the link:
subject: Performance enhancement of existing JSPs
It's not a secret anymore!