Small examples explaining Spring concept