Configuring spring beans without XML
We have a class Person package com.kb.java_based_configuration; public class Person { } package com.kb.java_based_configuration; public class Person { } Now I want to make this as a spring bean. I can do it using xml as follows Method 1 <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" […]
