This article describe a situation that could lead to unexpected Spring’s behaviour, in terms of instantiated beans, caused by multiple dependent context files.
I do not like this approach, but I have to cope with it and mostly fix the problems (analyzing the Spring’s initialization logs). (altro…)

Annunci

This article describes how I managed command line parameters in a standalone Java application powered by Spring 4.
Tested with Spring 4.x, JOptSimple 4.8. (altro…)

This is a brief note about ${…} placeholder resolution in Spring.
Tested with Spring 4.0 ~ 4.2. (altro…)

I’m playing with technologies and framework for a new project: because I’m learning things probably useful for others, I’m gonna write here few notes about what I’ve learned. This is the sixth article of a series: we need a way to access the MyBatis session (to flush the statement cache) in mappers/DAOs. (altro…)

I’m playing with technologies and framework for a new project: because I’m learning things probably useful for others, I’m gonna write here few notes about what I’ve learned. This is the fifth article of a series: the @Transactional annotation will be used. (altro…)

I’m playing with technologies and framework for a new project: because I’m learning things probably useful for others, I’m gonna write here few notes about what I’ve learned. This is the fourth article of a series: we need to change MyBatis’ default configuration. (altro…)

I’m playing with technologies and framework for a new project: because I’m learning things probably useful for others, I’m gonna write here few notes about what I’ve learned. This is the third article of a series: now it’s time to cache! (altro…)