Hi,

Can you answer me a question about JSF? I'm now studying JSF for
examinations. I'm using JSF 2.0
I have 1 milion records (table name is Student) in database. Firstly, in
backing bean object, I get 10 records (because I must do pagination) and
return a List<Student>. Then I display the List into a dataTable in
index.xhtml file. The speed is very fast !

Then, on the index.xhtml itself, I have a commandLink to click to call
deleteStudent(int
stuID) method, it deleted successfully but take about 8 seconds => too slow

I computed processing time of the methods deleteStudent() and getStudents()
and the time was very small, about 0.1 - 0.5s. So I think the cause is not
query statements or procedure, I think because of JSF framework or
something. But why in the first time, from the time I clicked button Run in
netbeans, the page loaded very fast (about 1s) ?

Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

Reply via email to