Reputation: 334
I have a JSF Site, displaying a HTML-Table. I have 14 Columns for next two weeks and some users for the rows. The users depends on a selected option from a selectonemenu.
So whats the problem? If I load for example 50 user for 2 weeks, i have a big filled table. After that every action listener on any link on this site takes years before the response is there. Then I created an action listener which does nothing! This action take years too! If i only load 5 users into my table, the action which does nothing is really fast!
So my Question: What is Icefaces doing? Why does I have so long times just performing an small action in the backend? It`s not the Method in the backend bean which is slow.
UPDATE:
I wrote some sample Code, where you can nicely see my problem. If I take 50 columns and 300 rows, the site takes ca 15 sec for loading. Clicking the button do nothing then will always take ca 15 seconds. If I only load 5 columns and 5 rows, the do nothing button is fast!
JSF Site Code Managed Bean Code
Upvotes: 1
Views: 541
Reputation: 11577
If you can't share the code i can only say debug that code! see what steps are extra slow or witch line are useless, called more times then needed, or if you go through the entire data when not needed. finally, maybe change the data structure, use hash table or something else in order to search the data faster
Upvotes: 1