Boundaries Immersed in a Scalar Quantum Field