What is the best way to pass interface instance to the test?

Hello,

The UVM cook book suggests two approaches for passing interface instance location to test class:
1.uvm_config_db
2.packages

How do we weigh both the approaches? Which is better/recommended?