Search:

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

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Created...

    Created https://jira.springsource.org/browse/SPR-9852 to address this issue
  2. Note that if I change Collections.unmodifiableMap...

    Note that if I change Collections.unmodifiableMap to Collections.synchronizedMap the problem seems to go away. This leads me to believe the decorating Spring proxy is not thread safe when used in...
  3. Thread-safety of calling @Bean methods from returned annonymous inner classes

    Is the following test method thread-safe, assuming that this is being called from multiple threads? Sometimes the println statement displays "null"



    import java.util.Collections;
    import...
  4. Moving the flag to the AppConf class doesn't seem...

    Moving the flag to the AppConf class doesn't seem to work for me. Do you mind posting your code?

    Thanks
  5. One thing you might want to try is the example at...

    One thing you might want to try is the example at the following link:
    ...
  6. I aggree. This would be a welcomed addition....

    I aggree. This would be a welcomed addition. Also, it would be nice if this could work with @Configurable.
  7. Here is the log at TRACE level.

    Here is the log at TRACE level.
  8. For example, the following works: import...

    For example, the following works:



    import javax.annotation.Resource;

    import org.junit.Assert;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import...
  9. @Configuration, BeanNameAutoProxyCreator and LazyInitTargetSourceCreator

    I'm currently trying to get an annotation based solution to lazy init a bean on first use. This is similar to the xml based version specified here...
  10. In order to simplify main management, I have...

    In order to simplify main management, I have created https://jira.springsource.org/browse/SPR-9044. If you like the proposed approach, please vote for it.
  11. Replies
    4
    Views
    7,527

    In order to simplify main management, I have...

    In order to simplify main management, I have created https://jira.springsource.org/browse/SPR-9044. If you like the proposed approach, please vote for it.
  12. Thread: Main class.

    by btiernay
    Replies
    3
    Views
    1,159

    In order to simplify main setup I have created...

    In order to simplify main setup I have created https://jira.springsource.org/browse/SPR-9044. If you like the proposed approach, please vote for it.
  13. In order to address this issue, I have created...

    In order to address this issue, I have created https://jira.springsource.org/browse/SPR-9044. If you like the proposed approach, please vote for it.
  14. Replies
    11
    Views
    13,602

    Proposed Spring Enhancement

    In order to address this issue, I have created https://jira.springsource.org/browse/SPR-9044. If you like the proposed approach, please vote for it.
  15. Replies
    5
    Views
    2,198

    I actually tried something very basic with just a...

    I actually tried something very basic with just a jsp page and a form which throws an exception with the file size is too big and it behaves exactly the same way... the stack trace is delayed.
    ...
  16. Did you ever figure out a solution for this? I...

    Did you ever figure out a solution for this? I added a request listener to demarcate the lifespan of the request and determined that it continues to upload after the request has exited Tomcat. I'm...
  17. Replies
    5
    Views
    2,198

    Did you ever figure out a solution for this? I...

    Did you ever figure out a solution for this? I added a request handler to demarcate the lifespan of the request and determined that it continues to upload after the request has exited Tomcat. I'm...
  18. Sorry for confusing the situation :) Could you...

    Sorry for confusing the situation :)

    Could you not do something like:

    4.1 Hibernate.initialize(a);
    4.2 session.evict(a);

    I suppose these are just some of the natural issues associated with...
  19. A couple of points: 1. Transaction semantics...

    A couple of points:

    1. Transaction semantics should be applied at the service level, not at the the presentation or DAO levels

    2. It sounds like you are running in autocommit mode. This is...
  20. If you are relying on interfaces, then perhaps...

    If you are relying on interfaces, then perhaps you need to make your entities implement read only interface contracts, and return these from your service. Otherwise you are forced to use DTOs.
    ...
  21. One way you can enforce such an architectual...

    One way you can enforce such an architectual constraint is through Aspectj's "declare error / warning" mechanism. At heart here is policy problem, and this will help to enforce that policy.
  22. Replies
    9
    Views
    7,433

    Anyone get a resolution on this? I've been having...

    Anyone get a resolution on this? I've been having similiar issues with LTW and tomcat leading to OOM issues
  23. Replies
    0
    Views
    1,015

    ServletContextResource bean

    Is there a more succinct way of specifying the following?


    <bean id="defaultMemberImage" class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
    <property...
  24. Found out this was best done with caching.

    Found out this was best done with caching.
  25. Instantiation of JPA Entities in ApplicationContext

    Is it possible to get spring to instantiate JPA entities into prototype scope on application startup? The problem I am encountering is that currently I am using the OEMIV filter to establish an...
Results 1 to 25 of 26
Page 1 of 2 1 2