Results 1 to 7 of 7
  1. #1
    sunjavaboy is offline Member
    Join Date
    Mar 2008
    Posts
    12
    Rep Power
    0

    Question how to improve java performance

    Hi

    We have a java application built with Swing applet and Servlet running on Tomcat. Some other features are: it uses Struts and log4j, and ANT for compilation.

    How can the application be optimized for better performance. The current application is running fine. But I still think there could be areas of improvement. Areas where compilation process can be improved, memory and CPU usage can be reduced, better error reporting, better database connectivity etc.

    Any suggestions are welcome.

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    It's depend on the implementation you have done pal. Did you found such any code that you think possible to make more smoother than now?

  3. #3
    sunjavaboy is offline Member
    Join Date
    Mar 2008
    Posts
    12
    Rep Power
    0

    Default

    I can dig into the code and find some specific things that can be made smoother. But there should be some common things with java that can be improved upon. I would like to know those.

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

  5. #5
    bksamrat is offline Member
    Join Date
    May 2008
    Posts
    3
    Rep Power
    0

    Default

    u talking about the development env....
    concentrate on the deployment.
    install apache seperately and tomcat seperately and connect them using the modjk.
    in apache keep the keepalive flag true.
    for tomcat set the heap size.

    use jmeter to load test.

  6. #6
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Are you directed on me? If so, development process is the most critical point in software industry, is what I believe.

  7. #7
    developer321 is offline Member
    Join Date
    Jun 2008
    Posts
    10
    Rep Power
    0

    Default

    Find the pain areas i,e the usecase/pages which are taking more time.
    If you look at the logs,you will be able to figure most of the bottelnecks.

    Some more performance ideas for Web Application and Java programs :
    web : vishnujavablogs.blogspot.com/

Similar Threads

  1. Replies: 25
    Last Post: 06-28-2008, 05:08 PM
  2. how to improve the performance of JWS?
    By dinesh kaushik in forum Java Applets
    Replies: 0
    Last Post: 11-21-2007, 08:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •