impact of heavy session objects
Posted on 2006-03-31
in my web application(java,jsp,struts,tomcat,oracle) the user is needed to add records as many as he wants,and later he can view these records with an option to modify these records.
Now when the user add a records i m storing these records in session object one by one and there is a final Commit button on which i perform database operations.at the time of view i fetch all records from database, put in session object and display on the screen.
If user wants to update any records he can click on any hyperlink(for each record there is hyperlink with a unique key against records in session),now this particular records is available for editing. the user update this records and old record in session is removed and this new one in added and again there is a final commit button on which i get the data rom session and perform database operation.
This application is for multiuser environment,now i want to know the impact of heavy session object in my application because there could be hundreds of records in session and any suggestions in case of application performance degradeation.