requires that the bean being referenced is in the same config file.
requires only it to be in the same context, or in a parent context.
The difference is primarily one of documentation. If you see , then you know you need only look in the same file to find it. Other than that, there's not much difference. I would generally use
in most cases.