Solving 1+u''(x) = b(x) with DiffEqOperators

Based on this question, I think I got it to work via:

using SparseArrays, LinearAlgebra
Axx,bxx = sparse(Dxx*bc)
Dh = I+Axx

and then doing Dh\b. Is this the best way to go about it?