-
Enterprise Java👁 Image
Customizing Spring Data JPA Repository
Spring Data is a very convenient library. However, as the project as quite new, it is not well featured. By…
Read More » -
Enterprise Java👁 Image
Maven Web Project Kickstarter Codebase with Spring, Hibernate, Akka, Twitter Bootstrap, Apache Tiles and jQuery
I am happy to upload my second project to GitHub to help people get started with Java Web App Development…
Read More » -
Enterprise Java👁 Image
Hibernate native SQL features into your Spring Data Repository
JPA provides @NamedNativeQuery for you to use native SQL. However, the usage is not so convenient, especially when you need…
Read More » -
Enterprise Java👁 spring-interview-questions-answers
Measure execution time in Java – Spring StopWatch Example
There are two ways to measure elapsed execution time in Java either by using System.currentTimeinMillis() or by using System.nanoTime() .…
Read More » -
Enterprise Java👁 spring-interview-questions-answers
Spring @Configuration and FactoryBean
Consider a FactoryBean for defining a cache using a Spring configuration file: <cache:annotation-driven /> <context:component-scan base-package='org.bk.samples.cachexml'></context:component-scan> <bean id='cacheManager' class='org.springframework.cache.support.SimpleCacheManager'> <property…
Read More » -
Enterprise Java👁 spring-interview-questions-answers
Spring JDBC Database connection pool setup
Setting up JDBC Database Connection Pool in Spring framework is easy for any Java application, just matter of changing few…
Read More » -
Enterprise Java👁 spring-interview-questions-answers
Spring Profiles in XML Config Files
My last blog was very simple as it covered my painless upgrade from Spring 3.0.x to Spring 3.1.x and I…
Read More » -
Enterprise Java👁 Image
Spring Security Implementing Custom UserDetails with Hibernate
Most of the time, we will want to configure our own security access roles in web applications. This is easily…
Read More » -
Enterprise Java👁 spring-interview-questions-answers
Resolve circular dependency in Spring Autowiring
I would consider this post as best practice for using Spring in enterprise application development. When writing enterprise web application…
Read More »
