A Java geek
  • Me
  • Books
  • Speaking
  • Mentions
  • Focus
  • Newsletters

bean

A collection of 2 posts
The right bean at the right place
JavaEE

The right bean at the right place

Among the different customers I worked for, I noticed a widespread misunderstanding regarding the use of Spring contexts in Spring MVC. Basically, you have contexts, in a parent-child relationship: The main context is where service beans are hosted. By convention, it is spawned from the /WEB-INF/applicationContext.xml file but this location can be changed by using the contextConfigLocation context parameter.

Jun 22, 2014
Java

Automated beans conversion

This week’s post will be about beans conversion. In the past, I’ve ranted about DTO and their indiscriminate use in applications. I do concede, however, that DTO are sometimes necessary: this article points out some contexts where they might be. Moreover, DTO even may not be enough, bringing the need for View Objects. Such is the case for layered architectures in big projects.

Sep 13, 2010
A Java geek © 2008-2026
v. 8469dfb85e650fbf59112dd9359084a0b8fa2f6b/13500437904
Latest Posts