Year: 2014

(Wro) Web Resource Optimizer Tutorial

Wro Filter Adding the following filter configuration to Web.xml <!– WRO4J config –> <filter> <filter-name>WebResourceOptimizer</filter-name> <filter-class>ro.isdc.wro.http.WroFilter</filter-class> <init-param> <param-name>configuration</param-name> <param-value>DEVELOPMENT</param-value> </init-param> […]

Read More

JPA – UntypeResult

This tutorial demonstrate using JPA2.0 with JQPL query with untype result and hibernate as vendor provider. This kind of query specifically […]

Read More

JPA Native SQL Query

This tutorial demonstrate using JPA2.0 with createNativeQuery and hibernate as vendor provider.

Read More

JPA NamedQuery

This tutorial demonstrate using JPA2.0 with NamedQuery and hibernate as vendor provider.

Read More

AOP basic

  Join Point – A point of execution of a program, such as a method call or exception thrown Pointcut – […]

Read More

JavaConfig – SpringExpL

Suppose I have a POJO called Address, I’d like to load external resource data and replace the address line1 and line2 […]

Read More

BeanPostProcessor

Bean post-processors, a special kind of spring bean that able to received bean lifecycle callback at various stages (initialisation/destruction), and perform […]

Read More