File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

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
Rancher

Joined: Mar 22, 2000
Posts: 12681
    
    5
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.

Bill


Java Resources at www.wbrogden.com
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29247
    
139

Muni,
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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
steve souza
Ranch Hand

Joined: Jun 26, 2002
Posts: 852
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.


http://www.jamonapi.com/ - 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!
 
 
subject: Performance enhancement of existing JSPs
 
Similar Threads
java.lang.OutOfMemoryError: Java heap space
Image is not getting displayed
cewolf charts
How many hours do u sleep per day?
WA #1.....word association