Archive for the ‘Programming’ Category
How to close all open popup windows on logout action?
Many Web applications I have seen/worked before use HTML popup windows to handle editor/add new screens. But unfortunately there are many issues (lack of modal dialog support for example) with popups and hence using them should be the last option.
How do you close all the popup windows when user clicks on the “logout” link in the [...]
Configuring JNDI datasource in Tomcat 6
I was starting on a new project yesterday and I needed the MySQL connection to be configured as a JNDI datasource on Tomcat 6. Tomcat 6 has a separate Web page detailing the steps required to configure JNDI datasource.
So following that advice, I copied the MySQL connection java driver (mysql-connector-java-3.0.17-ga-bin.jar) to TOMCAT_HOME/lib and then added [...]
J2EE Web application performance - SQL query optimization
For J2EE projects, performance issue is a common problem detected mostly towards end of the project lifecycle. In many projects fixing performance problems takes substantial percentage of testing time. Sometimes performance problems remain undetected till the Web application is released to production system which causes sleepless nights for the project teams!
J2EE performance problems are typically [...]