What applications do you have access to?
In PS, those background bottles are on a different layer, thus you can adjust the blur. If it is done in 3D, the application used probably offers DOF capabilities, if it is a real photo, the DOF was made in camera.
If i have not done it in camera( or as much as i would have liked) then i mostly use OnOne focal point, i find this to be quick and intuitive once you get used to the focusing bug their word for a graph that overlays the image and be manipulated in a multitude of ways to effect the plane of focus and a brush can be used for touching up areas to be made more or less focused.
Topaz Labs have a thing called lens effects but i find it can take a while to get the finish i want.
I do believe PS CS6 has a good blurring feature but not used it as i'm still on CS5
A quick example below, this image had some depth of field blur anyway but added a bit more so it was obvious what was going on. There many controls that can be adjusted so one ends up with a reasonably authentic looking image.