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 Suggestions Required Related To Perfomance Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "Suggestions Required Related To Perfomance " Watch "Suggestions Required Related To Perfomance " New topic
Author

Suggestions Required Related To Perfomance

yadhunandan ramaiah
Greenhorn

Joined: Sep 20, 2005
Posts: 6
Hi,
We have created a webappliction which consists of diffrent Tabs for respective modules.In one of the Tab which connects to a 3rd party Content management using there API.
On Click of this tab we are having a lot of performance issue as there is a lot of business funtionalites like connecting to the 3rd party tool,creating folders based on the usercontext object and lot of other security related stuffz required. we are not supposed to couple this coding any where else so we cant use lazy loading also nor we can have some job which excutes at the backend.
So can anybosy suggest any other way to simplify this!!
Onkar Joshi
Ranch Hand

Joined: Mar 01, 2007
Posts: 116
You could consider doing the initialization in the background in a different thread which can be started when the dialog box showing the tab is shown.


SCJP 5 - 95% | SCWCD 1.4 - 88% | SCBCD 5 - 93%
Onkar Joshi's blog | LinkedIn profile
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12759
    
    5
I think Onkar may be on the right track.

The critical question is: How much of what will eventually be needed is known when the dialog is first created?

IF you can not prepare anything in advance, the user perception of performance is the only thing you can tackle. Since this is a web application, perhaps you could use AJAX techniques to update the display information without reloading the page, thus reassuring the user that progress is being made.

Lucky you, the ranch has some real experts on AJAX - vist the HTML and JavaScript forum.

Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Suggestions Required Related To Perfomance
 
Similar Threads
to remove dependency from third part jars
Graphical Report generation in java
swing gui customizable components
Struts 2 with JQuery tab
USSD development help