xml config vs annotations