2014年5月22日星期四

json and session.setAttribute contrast

jsp page in terms of speed and efficiency : the action I deposit into session, then the page c: forEach fast, or I in action JSONArray jsonArray = JSONArray.fromObject (list); and then parse json jsp pages faster it
------ Solution ------------------------------ --------------
jsonarray not use the , fastjson or jackjson it
------ For reference only ---------- -----------------------------
have not put anything into the session
------ For reference Why only ---------------------------------------
session to put in it ! In fact, the speed should be almost right, you really care about this rate it?
------ For reference only -------------------------------------- -

Why not put request there is also , even if you deposit into json the background , foreground loop output should not it?
------ For reference only -------------------------------------- -



amount of data 30w
------ For reference only ------------------------------ ---------


which put inside and json request which speeds data
------ For reference only 30w of fast ----------------- ----------------------


Blessings Oh accustomed to it request and json contrast , the amount of data which
faster processing speed of a little 30w ----- - For reference only ---------------------------------------

  
which put inside and json request which the speed of data quickly 30w   Quantity
30w once you show it! You do not paged Yeah !
browser subject of it?
------ For reference only -------------------------------------- -
words in json parse , good point . .
------ For reference only -------------------------------------- -

    
which put inside and json request which the speed of data quickly 30w          Quantity
30w once you show it! You do not paged Yeah !   
browser subject of it?  
+1
------ For reference only -------------------------------- -------

    
which put inside and json request which the speed of data quickly 30w          Quantity
30w once you show it! You do not paged Yeah !   
browser subject of it?  


course of action I was ah json output to the page using ajax way
------ For reference only ----- ----------------------------------
json is not gotta own fight , ah, it might as well get yourself out of the loop output wants
------ For reference only --------------------------------- ------

learn about
------ For reference only -------------------------------- -------
30w discharge amount of data session. . . . .
------ For reference only -------------------------------------- -
into session d you will find out quickly , so much the amount of data json conversion speed will be a problem
------ For reference only --------- ------------------------------
I see very silent can imagine stuck to the browser look. .
------ For reference only -------------------------------------- -
30w, browser downtime. .
------ For reference only -------------------------------------- -
too many things . .
------ For reference only -------------------------------------- -
certainly put the session in the fast , mainly due to re- parse jason , session Do not .
30W is a lot of data , but also so I will do, as long as fewer people visit , can be used.
------ For reference only -------------------------------------- -
to test not on the list ?

没有评论:

发表评论