Practical guide to Spring XML configuration for defining beans wiring scopes and lifecycle with concise tips for reliable wiring