Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 90237
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T22:50:31+00:00 2026-05-10T22:50:31+00:00

Well.. we’ve developed a j2ee application using struts2 ajax capabilities. We find that the

  • 0

Well.. we’ve developed a j2ee application using struts2 ajax capabilities. We find that the dojo implementation is quite slow. We did the following things: 1. Custom build of the dojo library. (increased dojo.js from 240kb to 350kb) 2. Took all the static stuff out of the struts jar and kept it outside.

The performance was significantly improved. But still it is quite heavy as you can guess with 350kb size..

Is struts2 ajax supposed to be this heavy? or is there any lighter implementation available?


Edit: I used Firebug and YSlow with my application. Couple of changes that improved my situation hugely are mentioned below:

  1. Custom build of dojo (reduced the number of I/Os)
  2. Move the static files out of Struts jar (helped a great deal)
  3. tune your server to gzip the response (reduced the response size to 1/3)
  4. Reduce number of images on your site.(this is obvious)

Will keep updating on further changes..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T22:50:31+00:00Added an answer on May 10, 2026 at 10:50 pm

    First of all check that you did everything on the server to facilitate caching (e.g., setting right HTTP headers, compression, server-side caching, upstream caches, and so on). See Improving performance… for more details.

    The goal is to reduce I/O as much as possible — use Firebug or any other network traffic monitoring tool to see how much is sent back and forth. Try to minimize the number of I/O requests and the total number of bytes.

    Don’t forget that it applies to your dynamic data too — choose efficient formats, bundle several related requests together, remove all deadwood that is getting sent over and over unchanged.

    If the custom build and server-side tweaks didn’t help, consider restructuring your web app to be more light-weight. Examples:

    • Evaluate the splash screen technique discussed in the link above.
    • If you use a lot of different form widgets, see if it is really necessary, and fall back on regular DOM elements like ‘input’, ‘button’, ‘textarea’, ‘select’.
    • The same goes for layout widgets. See if simple CSS can help you out.
    • Evaluate building Dojo in layers instead of one monolithic dojo.js so only the necessary subset is loaded by web pages. See details in The Package System and Custom Builds.

    Building web applications with Dojo for a living for last 2 years I still didn’t see the one that cannot be optimized properly until it is fully accepted and perceived by end users as ‘fast’, ‘nimble’, and ‘light-weight’.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 123k
  • Answers 123k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Given that you have only 5-10 elements I would consider… May 12, 2026 at 1:12 am
  • Editorial Team
    Editorial Team added an answer When you work alone, and produce code which your colleagues… May 12, 2026 at 1:12 am
  • Editorial Team
    Editorial Team added an answer My guess is that you are rebinding the gridview on… May 12, 2026 at 1:12 am

Related Questions

Well.. we've developed a j2ee application using struts2 ajax capabilities. We find that the
Our application is well structured (well we did our best!) and we have split
We have an application (well, 3) which uses Oracle 9i, however this is being
Over the years we have seen (well, I have :) a number of languages
Buffer overrun problems are well known. Thus we were blessed with standard library functions

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.