Refresh Your Java - Before Java Interview
We are Agile, believe in less Documentation - Only Quick notes (Java Interview Questions) of Java/J2ee Read more....
In Spring Beans are defined two modes: singleton or
non-singleton.
When a bean is a singleton,
only one shared instance of the bean will be managed and all
requests for beans with an id matching that bean definition
will result in that one
pecific bean instance being
returned.
Beans are deployed in singleton mode by default, unless you specify otherwise.
Please see below you could manage this feature with 'singleton' attribute, please see below.
<bean
name="yetAnotherExample"
class="examples.ExampleBeanTwo" singleton="true"/>
This Portal is intended to put all Java/J2ee related topics at one single place for quick referance, not only Technical , but also the Project Management Related thing such as Development Process methodoogies build process, unit testing etc.,
This Portal has More than 500 Java Interview Questions (also could be Considered as Quick Notes) very neatly separated topic by topic with simple diagrams which makes you easily understandable. Importantly these are from our Realtime expericance.