Search:

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

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    843

    Actions should be threadsafe

    I think Action classes should be coded to be thread-safe, since by default beans are going to be singletons. If they are not thread-safe, bean definition should reflect prototype.
  2. Replies
    2
    Views
    635

    There is already a thread for this:...

    There is already a thread for this:
    http://forum.springsource.org/showthread.php?t=32678

    See if this helps.

    Sandeep Mahale
  3. Replies
    2
    Views
    468

    You don't need to use , unless the property...

    You don't need to use <list>, unless the property is a collection.
  4. Replies
    7
    Views
    1,810

    Is there a sample application that uses these...

    Is there a sample application that uses these singletons, as well as prototype beans (like the domain objects) ? Thanks.
  5. Replies
    10
    Views
    1,333

    Did Ron's suggestion solve your problem? If...

    Did Ron's suggestion solve your problem?

    If not, I would be keen to see the definition of txProxyTemplate.
  6. Replies
    10
    Views
    1,333

    Do you happen to know what beans depend on the...

    Do you happen to know what beans depend on the interface DAOUtils ?
  7. Replies
    10
    Views
    1,333

    So are you saying that this will work fine, only...

    So are you saying that this will work fine, only if you make one change - that of autowire=byName ?

    One more question -
    Does "com.contata.claimmapping.manager.base.ClaimDAOUtilsImpl" implement...
  8. Replies
    3
    Views
    654

    Welcome. :) Actually I found the Spring...

    Welcome. :)

    Actually I found the Spring documentation the best. Its not like other technologies, where you need a book in addition to the documentation. Ofcourse a book will help, but...
  9. Replies
    3
    Views
    654

    Container here is synonymous with Context. Read...

    Container here is synonymous with Context.
    Read this for a better explanation: http://techo-ecco.com/blog/spring-application-context-hierarchy-and-contextsingletonbeanfactorylocator/
    ...
  10. Try adding this: ...

    Try adding this:

    xmlns:util="http://www.springframework.org/schema/util"
  11. Have you considered PropertyPlaceholderConfigurer...

    Have you considered PropertyPlaceholderConfigurer ?

    Lets say you have jdbc.properties & you place the file in your classpath. This file contains :

    jdbc.driverClassName=org.hsqldb.jdbcDriver...
  12. Replies
    1
    Views
    514

    In general, Integration tests are testing two or...

    In general, Integration tests are testing two or more modules together. How do they integrate, & do they provide the desired output as a group? These tests are done after Unit Tests.

    It would be...
  13. How about

    How about <util:constant static-field="MY_CONSTANT" > ?

    For example:
    <bean id="myBean" class="com.objects.MyBean">
    <property name="dayOfWeek">
    <util:constant...
  14. Replies
    10
    Views
    1,333

    Hi. Could you please provide the entire XML?...

    Hi. Could you please provide the entire XML? Looks like the dependency is of the type com.contata.dao.managers.DAOUtils. Also there seems to be a typo in <bean...
  15. Replies
    1
    Views
    482

    You will need to add a property called...

    You will need to add a property called "formView". You can also add another property called "successView".

    The formView property is the logical name of a view to display when controller receives...
  16. Could you configure the two data sources as two...

    Could you configure the two data sources as two beans in the same context. And inject the appropraite data source as needed?
    (Or is this what you meant by "Swapping is excluded"?)
  17. Replies
    2
    Views
    622

    Could you provide some code to elaborate, please?

    Could you provide some code to elaborate, please?
  18. Replies
    1
    Views
    586

    There are basically four types of autowiring. ...

    There are basically four types of autowiring.

    1) byName : Attempts to find a bean in the container whose name or id matches the name of the property being wired.

    2) byType : Attempts to find a...
  19. Replies
    2
    Views
    565

    I am not sure about example codes, but you will...

    I am not sure about example codes, but you will find a good tutorial here:
    http://static.springsource.org/docs/Spring-MVC-step-by-step/

    (it is based on Spring 2.5)
  20. Replies
    6
    Views
    2,526

    Hi Priya, I didn't quite understand the...

    Hi Priya,

    I didn't quite understand the question.

    If you have properties defined either as System Properties, or through a Properties file, you can use PropertyPlaceholderConfigurer to inject...
  21. https://jira.springsource.org/browse/SPR-6253...

    https://jira.springsource.org/browse/SPR-6253 also seems to support a new feature for user defined ordering.

    I too am curious to know what will decide order in the current situation.
  22. Replies
    6
    Views
    973

    PropertyPlaceholderConfigurer should have worked....

    PropertyPlaceholderConfigurer should have worked. Try setting the systemPropertiesMode to "SYSTEM_PROPERTIES_MODE_OVERRIDE". (Check the API for PropertyPlaceholderConfigurer).

    Let us know the...
  23. JdbcDaoImpl is a ready-made implementation of...

    JdbcDaoImpl is a ready-made implementation of AuthenticationDao, provided out of the box by Spring.


    <bean id="authenticationDao"
    class="org.acegisecurity.userdetails.jdbc.JdbcDaoImpl">...
  24. Replies
    7
    Views
    1,567

    Enabled needs to be boolean :) Let us know if...

    Enabled needs to be boolean :)

    Let us know if this resolves the issue. Thanks.
  25. Replies
    2
    Views
    587

    Got it. Thanks!

    Got it. Thanks!
Results 1 to 25 of 33
Page 1 of 2 1 2