Spring
-
Enterprise Java
Spring – DAO and Service layer
Welcome to the third part of Spring tutorial. In this part, we will continue in writing our Timesheet application and…
Read More » -
Enterprise Java
Spring – Persistence layer – writing entities and configuring Hibernate
Welcome to the second part of this tutorial. Don’t freak out when you see how long this article is –…
Read More » -
Enterprise Java
Spring – Designing the domain model and the service layer
We are going to build application for timesheet management. So let’s think about some uses cases and entities first. Let…
Read More » -
Enterprise Java
Spring 3.1 Caching and @CacheEvict
My last blog demonstrated the application of Spring 3.1’s @Cacheable annotation that’s used to mark methods whose return values will be stored…
Read More » -
Enterprise Java
Spring 3.1 Caching and @Cacheable
Caches have been around in the software world for long time. They’re one of those really useful things that once…
Read More » -
Enterprise Java
Wire object dependencies outside a Spring Container
There are a few interesting ways of setting the properties and dependencies of an object instantiated outside of a Spring…
Read More » -
Enterprise Java
Spring Profiles and Java Configuration
My last blog introduced Spring 3.1’s profiles and explained both the business case for using them and demonstrated their use…
Read More » -
Enterprise Java
Spring Scoped Proxy
Consider two Spring beans defined this way: @Component class SingletonScopedBean{ @Autowired private PrototypeScopedBean prototypeScopedBean; public String getState(){ return this.prototypeScopedBean.getState(); }…
Read More » -
Enterprise Java
Observer Pattern with Spring Events
INTRODUCTION The essence of the Observer Pattern is to ‘Define a one-to-many dependency between objects so that when one object…
Read More »