Search:

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

Search: Search took 0.02 seconds.

  1. thank you Marten for the explanations, I was...

    thank you Marten for the explanations,
    I was under the impression that lazy-init applies to all scopes not only singleton, I didnt find any explicit comment about it in the documentation but may be...
  2. Thanks for the quick answer, so if I understand...

    Thanks for the quick answer,
    so if I understand correctly there is no meaning to the lazy-init=flase in case of request/session scope beans, meaning "lazy-init" is not applicable for those type of...
  3. setting lazy-init doesnt apply on session beans?

    Hi,

    I am trying to figure out why setting lazy-init to false on a session bean doesnt cause the bean to instantiate upon session creation.
    Consider the following simple class:


    package...
  4. Just wanted to add that the workarounds I...

    Just wanted to add that the workarounds I mentioned do not work (again, probably because this is a proxy and the bean is not really constructed until it is used)
    The only thing that triggers the...
  5. cannot eagerly load aop:scoped-proxy beans via lazy-init flag

    Hi All,

    I am trying to make one of my aop:scoped-proxy beans initialize on startup and do some logic in its init method. so I tried the following:


    <bean id="myBean"...
  6. Replies
    6
    Views
    1,930

    Thanks andrew, I tried using a different...

    Thanks andrew,

    I tried using a different eclipse and it worked so the problem was in my eclipse after all...

    Thanks anyway for supplying this up-to-date plugin I will use this one.
  7. Replies
    6
    Views
    1,930

    problems installing the groovy plugin

    Hi All,

    I am trying to install the groovy plugin from :"http://dist.codehaus.org/groovy/distributions/update/ "

    on my spring STS (version 1.0.0), from the regular path of help->software...
  8. Replies
    4
    Views
    2,964

    Thanks Chris, Can you elaborate a bit more...

    Thanks Chris,

    Can you elaborate a bit more about the differences in terms of the IDE support for java config and xml config.

    Also looking at the exmples of how to mix java&xml config in chapter...
  9. Replies
    4
    Views
    2,964

    how to compare java and xml config

    Hi All,

    I am trying to learn more about the options java config has to offer in comparison to xml config.

    I am currently looking on the petClinic application (the sample that is part of the...
  10. Replies
    12
    Views
    3,164

    Hi, we did resolve this in kind of an ugly way,...

    Hi,
    we did resolve this in kind of an ugly way, but it works, so I wanted to update u.
    The idea is to have emulate a spring session context so that spring resources will be available.

    You will...
  11. Replies
    12
    Views
    3,164

    No, I didnt. I decided to to approach this issue...

    No, I didnt. I decided to to approach this issue again as soon as I upgrade to Spring 2.5, hopefully this will give me more alteratives for handling this issue.
  12. using final methods in a session scope bean

    Hi all,

    I am having the following problem with Spring 2.01:
    - I have beans a,b in scope session, a is of type A and b is of type B.:
    <bean id="a"
    class="com.A" scope="session"...
  13. using final set/get methods for spring beans in seesion scope

    Hi all,

    I am having the following problem with Spring 2.01:
    - I have beans a,b in scope session, a is of type A and b is of type B.:
    <bean id="a"
    class="com.A" scope="session"...
  14. Replies
    12
    Views
    3,164

    Thanks a lot for the input!!!!, what you told him...

    Thanks a lot for the input!!!!, what you told him helped a bit but did not solve the entire problem, because it only solves of accessing simple methods from the target object, and I will explain:...
  15. Replies
    12
    Views
    3,164

    Yes, I debugged it and saw it going through the...

    Yes, I debugged it and saw it going through the code, but what surprised me was that the traget had the same object reference, that is:
    In the first line below this.myObj received the same reference...
  16. Replies
    12
    Views
    3,164

    Hi, Thanks again for the reply, but I still...

    Hi,
    Thanks again for the reply, but I still didnt succeed in making it work.
    What exactly do I need to do?:
    I tried retreiving the real object BEFORE running the thread by:
    this.myObj =...
  17. Replies
    12
    Views
    3,164

    Hi there, Thanks for the reply, how exactly can...

    Hi there,
    Thanks for the reply, how exactly can I inject the real object, and is it a good practive?
  18. Replies
    12
    Views
    3,164

    How to access spring beans from other threads

    Hi,

    I am quite new with spring, so I hope this is not entirely a dumb question.
    - I have a web application with many java objects that are injected in spring with session scope.
    - In addition...
Results 1 to 18 of 18