posted 18 years ago
Hi All,
I have an application wherein we have 2 frames.
Left frame has a tree-like structure and the Right frame has the details of the selected node (just as in windows folders)
On the right frame, apart from the details ,there are a set of buttons which are of two kinds:
(a)Buttons used to manipulate tree nodes itself like 'Add Node', 'Delete
Node'(Tree state changes) Basically tree must be refreshed from DB to
show the changed state
(b)Buttons used to manipulate the node details (Tree state remains the same)
Issues:
In case of say 30 nodes its fine but beyond that if the nodes are say 100 in number, then the page takes a lot of time to load(more than 8 seconds).
Also, when the tree refresh happens (in case of (a) above) it's even more slow.....(more than 12 seconds)
Right now I am using an arrayList for node population(We chose arrayList as out of about 18 functionalities, in only 3 - add/move/delete node, the tree state gets refreshed, otherwise for rest of the 15 functionalities
the tree state remains the same)
Is there a better collection that may render better performance ?
How may I address the performance issue?
Regards,
Amit