Search:

Type: Posts; User: tcstcs; Keyword(s):

Search: Search took 0.04 seconds; generated 17 minute(s) ago.

  1. Replies
    1
    Views
    180

    Query on Prototype Scoped Beans

    In spring,when bean is defined with prototype scope, getBean() method will return new instance every time we call it.
    Would like to know any business scenario where we use this Prototype scope...
  2. Thread: Question on DI

    by tcstcs
    Replies
    8
    Views
    408

    In ur example, where are we making use of SPRING...

    In ur example, where are we making use of SPRING DI?
  3. Thread: Question on DI

    by tcstcs
    Replies
    8
    Views
    408

    Thanks for the suggestions. This question was...

    Thanks for the suggestions. This question was asked in one of the interviews. Let me try to reframe the question
    "There is a POJO which gives Insurance details for different CARS. Depending on the...
  4. Thread: Question on DI

    by tcstcs
    Replies
    8
    Views
    408

    it will be a user input on which i need to inject...

    it will be a user input on which i need to inject a make of the car.
  5. Thread: Question on DI

    by tcstcs
    Replies
    8
    Views
    408

    Question on DI

    I have a requirement, CAR is a interface and FORD,MARUTI,HYUNDAI,BMW are implementations of CAR interface.
    I need to get specifica car details based on the input. In that case how do we inject diff...
  6. Can u explain it more clearly. I am not...

    Can u explain it more clearly. I am not understanding the reason u have mentioned below to use MethodInvokingFactoryBean.
  7. Why and when to use MethodInvokingFactoryBean?

    I see that we can call a method through MeithodInvokingFactoryBean to set more than one parameter? But same thing can be achieved through Constructor injection as well. SO would like to know why and...
  8. Replies
    1
    Views
    334

    Spring JDBC VS JDBC

    Can anyone tell me the diff between Spring JDBC and simple JDBC. Couldn't find good info from google.
  9. Replies
    3
    Views
    332

    Thanks. Even if i refer to existing property from...

    Thanks. Even if i refer to existing property from file, its not picking the value:( it shows {user}. Why its happening?
  10. Which API resolves all the Bean references and property file params?

    I have spring config file in which I have mentioned beans whose respective JAVA classes are not present and also there are property file params referred in config file which are not present in...
  11. Replies
    3
    Views
    332

    Param in property file confusion

    I have config file

    <bean id="propertyPlaceholderConfigurer"
    class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
    <property name="locations">
    <list>
    ...
  12. Replies
    2
    Views
    491

    Thans Mark.Explanation is much verbose.

    Thans Mark.Explanation is much verbose.
  13. Replies
    2
    Views
    491

    How testing is easy with Spring?

    IOC concept makes testing easy with Spring. Can someone explain me how this can be achieved with simple example.
  14. Replies
    1
    Views
    749

    Good Spring book

    Hi,
    Can anyone suggest me a good online material for spring.
    I know about this http://static.springsource.org/spring/docs/3.0.x.
    But its very elaborate and takes long time to read. Looking for...
  15. Replies
    2
    Views
    658

    can u suggest any ref material

    can u suggest any ref material
  16. Replies
    2
    Views
    658

    beans.xml validation and loading

    When the beans.xml file gets validated and loaded through container? And when does it read properties from a properties file.
  17. Diff between injected obj and obj created using new operator?

    Hi,
    is there any difference between spring created bean & using new instance of an object??
Results 1 to 17 of 17