Depends-on in Spring

With this example we will show you how depends-on works in Spring. In spring application XML, if we need to initialize any bean before another bean, depends-on does this job. While creating bean we need to define depends-on attribute in bean. When a bean is typically dependent on another bean then we specify the dependent […]

Read More