Tag Archives: spring

Powerful combination: JMX + Annotation + AOP

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, [...]

Speed up your website via caching

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 [...]

Wiring up Flex, Mate, BlazeDS, Spring, Hibernate and MySQL with Maven 2 – Part 1

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 – [...]

Flex Remoting and Session Management

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 [...]

Part 1 – Spring Security Architectural Review

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 [...]

Configuration Management and Monitoring via Spring

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 [...]