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...
Type: Posts; User: oegozi; Keyword(s):
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...
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...
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...
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...
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"...
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.
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...
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...
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...
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...
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.
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"...
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"...
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:...
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...
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 =...
Hi there,
Thanks for the reply, how exactly can I inject the real object, and is it a good practive?
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...