Posted by admin on March 22, 2009
What is AOP? AOP is a way to modularize cross-cutting concerns. Ok, what does “modularize” really mean? Modularization is the encapsulation of a unit of functionality. It is exactly what “Class” is doing in OO world. How about “cross-cutting concerns”? Basically it means any functionalities that span multiple modules/ classes. They include Transaction Management, Security, [...]
Posted by admin on January 24, 2009
Introduction Caching is a crucial performance tuning strategy, especially your system has high read to write ratio. You can perform caching strategy at different levels from client browser cache all the way to disk cache at server side. Lets take a brief look at where we can cache based on the invocation path for a [...]
Posted by admin on December 25, 2008
Introduction This article is written on top of the great work that Sébastien Arbogast has done. He has written 3 articles that showed you how to wire up Flex, BlazeDS, Spring, Hibernate and MySQL with Maven as build process. I have included his articles below as your reference. The Flex, Spring, and BlazeDS full stack – [...]
Posted by admin on June 22, 2008
Power of BlazeDS Recently, I found out that Adobe has released BlazeDS (subset of LiveCycleDS) that has 4 main advantages: AS3 to Java object communication (no XML passes back and forth is needed!) Boost up performance b/c AMF is a binary protocol Built-in proxy support that gets around the cross domain security issue from Flex [...]
Posted by admin on May 27, 2008
My Web application needs both authentication and role-based authorization features. And our user profile is currently stored in an OpenLDAP server. I am looking for a security framework that can help me to integrate LDAP and provide these security features with the least amount of effort. On top of that, I want to achieve this [...]
Posted by admin on January 25, 2008
Externalize your configuration from war For settings that are going to change across different environments like database connection, you should externalize them from your war file. So, you can have your war be environment agnositic. Then, you can promote via simply copying your war across different environments. In Spring, there are several ways to achieve [...]