i am developping a Medical Billing System using servlets and JSPs but not following MVC,therein for fetching data from servlets to view page i am putting so much attributes(lists and single valued both) inside HttpSession.will this affect my web application badly ?if yes ! how ? and what are the alternative ways instead of using session ?
Asked
Active
Viewed 77 times
0
-
While this link is not specific to java, I reckon it applies to all frameworks in general - must read to understand performance and scalability issues due to state management - http://msdn.microsoft.com/en-in/library/ff647787.aspx#scalenetchapt06_topic16 – swazza85 Jan 20 '15 at 11:27
-
@swazza85 , i am sorry i forgot to mention that but i work on java technology and any help in context of java web applications would be great . – Alok Mishra Jan 20 '15 at 14:38
-
1Keep data on the request? Cache DB data closer to the DB layer? How *much* data are you putting in session? Do you *ever* clear it? – Dave Newton Jan 20 '15 at 23:01
-
i am invalidating the HttpSession when user logs out . i dont to how to clear session attributes selectively ? @DaveNewton – Alok Mishra Jan 21 '15 at 06:22
-
Set the session attribute to null. – Dave Newton Jan 21 '15 at 13:32