Ok, now I get that, but lets say we do:-
<bean id = "foo1" class = "Foo" singleton = "true"/>
<bean id = "foo2" class = "Foo" singleton = "true"/>
can we not still create 2 instances in the same...
Type: Posts; User: ramya.1703; Keyword(s):
Ok, now I get that, but lets say we do:-
<bean id = "foo1" class = "Foo" singleton = "true"/>
<bean id = "foo2" class = "Foo" singleton = "true"/>
can we not still create 2 instances in the same...
I read in the spring docs that spring implementation of singleton is per spring container and the singleton design pattern is per class loader. My questions:-
1. What if there are multiple class...
Hi.. am just learning spring. I had a code written for decorator pattern example, and wanted to avoid 'new()' part of it and the if-else associated with it (even though its in the main method). So...
Hi.. For the same program, I now created value added services along with ticket reservation, like car rental and hotel. how can i configure those. Here is the code for those:-
public abstract class...
Thank you so much JP! This works perfectly..
Hi.. am just learning spring. I had a code written for decorator pattern example, and wanted to avoid 'new()' part of it and the if-else associated with it (even though its in the main method). So...