The home page of the web application we created has 3 jsps included in it using jquery. The problem now is that everytime user logs in to the system the server is hit 4 times. one for the login, the rest for loading the pages.. I wanted to know if its possible to avoid this. A re-work on the architecture is impossible, is there an other way out? Any suggestions would be of great help as the performance of the server is going down drastically.
It's close to impossible to give you any advice with the little information you provide. However if you are including 3 jsp's using jQuery you should probably re-architect that page to use something like tiles or something. Regardless, you'll probably need to do some type of re-work to fix any type of performance ... but not sure based on what we know
I am not sure how tiles would help to resolve this issue. 2 of the pages require data from the db to be displayed, the maim purpose for including 3 in 1 was to avoid the whole page from getting rfereshed wen an operation was done say like insert.. i.e say if the user was working one of the 3 jsps, on click of the button in that jsp the other 2 pages would not be affected.
Hope this would give you a bit of idea about the issue
You guys wanna see my fabulous new place? Or do you wanna look at this tiny ad?
Devious Experiments for a Truly Passive Greenhouse!