java - Get all the questions from database at a time or one ques at a time? -
I am using Spring, Hibernate, JSP and ISLL on the Java Quiz web application. I am confused whether:
- To get all the queries in the database at one time and send it to jsp file as jsn, where do questions use javascript?
or
- Get a question while using AJX?
One of the results of having a very large result to fit on one page The concept is that most frameworks, including JSP, will be JSP tags for rendering large frames.
Calling a different AJAX call for each user is probably too much because you will have a network round trip.
Another approach may be client-side (or even server-side) caching.
If you are using HTML5 on local storage, your choice on the server appears on the matchmacht.
- Get a question while using AJX?
Comments
Post a Comment