Archives: Servlet

Concurrency, Thread Safety and Local Variables

August 12, 2016 | By kiranbadi1991 | Comments Off on Concurrency, Thread Safety and Local Variables | Filed in: Development, Performance Center, Performance Engineering, Performance Test Tools.

One of the most of the common reason for concurrency issues I often see in web application is due to concurrent access of data stored in variables. Generally in servlets , data in variables are often stored as Local variables, Instance Variables, Class Variables , request attributes, session attributes and context attributes. Below example simplest • Read More »

Tags: , ,

Log the Servlet Processing Time

January 12, 2014 | By kiranbadi1991 | Comments Off on Log the Servlet Processing Time | Filed in: Development, Environment, Performance Engineering.

Recently one of my friend who had a Java based web application which was was recently developed and deployed in the production environment was facing some performance issues contacted me. For some reasons in that application couple of functionality was taking more time to show up than few other functionalities, after doing some investigation, we • Read More »

Tags: , , ,

Dealing with Browser’s back Button with Headers and Javascript History Object

August 28, 2012 | By kiranbadi1991 | Comments Off on Dealing with Browser’s back Button with Headers and Javascript History Object | Filed in: Browser, Development, Environment, Others, Testing.

Quite often while coding application which has lot of forms in it, there comes a requirement where in developers needs to deal with back button functionality of the browser.Disabling the back button with Javascript is one of the options used by many sites to deal with duplicate submission of forms. Browsers maintain information about pages • Read More »

Tags: , , ,