Bosonic fields in strong-field gravity