I have most of the times worked on spring based projects. Recently I got a chance to design business layer based on EJB 3. Below are the observations based on my experience.Any architect may consider EJB 3 , for these aspects. JMS Consumers: When you need to develop JMS consumers: EJB supported MDB are simplestContinue reading “5 scenarios where you can bet for EJB3”
Monthly Archives: February 2013
Aspects of Web application to be secured
To ensure security of a web application is an important requirement now days. One needs to first do a vulnerability assessment. For example: If there is file upload feature, Application can be vulnerable for uploading viruses. If there is form submission, Application can be vulnerable for html/js injection. If plain JDBC has been used, thereContinue reading “Aspects of Web application to be secured”
Singleton Design Pattern in a clustered Environment !!!
When to Use: We can use Singleton pattern while creating objects of thread pools, caches etc to avoid wasting resources. If you want to store global information like item price of products etc. It’s now a anti-pattern and you should avoid it by different substitutes. Important Note: It has now become Anti-design pattern and weContinue reading “Singleton Design Pattern in a clustered Environment !!!”