resource replaced with resourceBean