Rick & Andews,
the reason why I want to use the spring container in the test is that getting the beans from the spring container will result in all of the collaborators being injected into the...
Type: Posts; User: drc; Keyword(s):
Rick & Andews,
the reason why I want to use the spring container in the test is that getting the beans from the spring container will result in all of the collaborators being injected into the...
We want to mock out (using jmock) the collaborators of our spring managed beans, so MyBean is the class that will have its collaborators mocked out, ie dao's etc. Given that our advices open/close...
Hi,
we have decorated our Spring managed beans with advices via the org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator using beanNames, as in:
<bean id="proxyCreator"...
Hi,
we have multiple clients (struts, soap, etc) that access a services tier whereby transaction demaraction is control via an around advice. We also have another cross cutting conern that I can...
Firstly a definition, our struts actions call into our 'Services' tier. This services tier is generic so it accepts a Collection of domain objects and simply persists them to the db - regardless of...
katentim ,
yeah it could be, but I see this as something that ideally belongs in the domain object - which then requires a reference to a DAO to do this, which I dont like.
The other issue is...
Hi,
I have a partitioning question that I'd some feedback on.
Our app uses Spring, Struts and Hibernate, and I'd like to keep our domain model (the Hibernate POJO's) from having any...
Mark,
this seems to have done the trick - and also makes sense.
many thanks for your time!
Mark,
the out of memory was due to the session factory being created twice. So, I increased the heap size and removed the reference to applicationContext.xml from the struts-plugin so the...
Hi,
I have 2 contexts, being applicationContext.xml and action-servlet.xml.
Heres the web.xml:
<web-app id="WebApp">
<display-name>fullcourtweb</display-name>
<context-param>
...
Hi,
our application uses Spring 1.2.2 and struts. To use struts you need to define org.springframework.web.struts.ContextLoaderPlugIn as a struts plugin.
What I found debugging through the...
Hi,
I'm putting togther a proof of concept to try to prove that converting our web-app to Spring 1.2 is a worthwhile investment. Anway, I'm having trouble making my Struts actions Spring managed,...
iksrazal,
here it is. As I mentioned before if I remove this plugin, and reference a struts action that isnt a Spring bean (ie it extends ActionSupport) then it works fine. Do you see this?
...
I've now found out why the lazy loading doesnt work, but cant figure out how to resolve the problem.
The reason why it doesnt work is because my Struts actions are being hosted as Spring beans,...
Ok, I'm stumped. I've whittled down my application to get rid of acegi, etc and I still cant get lazy loading working. I'm using Spring 1.1.5 and Hibernate v2 and am using OpenSessionInViewFilter so...
Hi,
I'm using struts and tiles within my Spring 1.1.5 app (on Tomcat 4.1.31) and have a couple of quick questions:
1) AuthenticationProcessingFilter accepts properties defaultTargetUrl &...
Hi,
I've developed a small web-app to test out acegi security (its basically a cutdown version of the samples app). The first page to be displayed is protected, so the form based logon page is...
Hi,
I've read through the forums and cant find the answer to my tiles integration problem with Spring (v1.1.5) using Struts (v1.2.4) in the web tier.
Any help to this problem is appreciated! ...