Search:

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

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,566

    Rick & Andews, the reason why I want to use...

    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...
  2. Replies
    6
    Views
    1,566

    We want to mock out (using jmock) 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...
  3. Replies
    6
    Views
    1,566

    mock testing with spring managed beans

    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"...
  4. Replies
    2
    Views
    1,240

    After advice design question

    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...
  5. Replies
    6
    Views
    1,157

    Firstly a definition, our struts actions call...

    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...
  6. Replies
    6
    Views
    1,157

    katentim , yeah it could be, but I see this as...

    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...
  7. Replies
    6
    Views
    1,157

    Domain objects with no dependencys on DAO's

    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...
  8. Replies
    5
    Views
    2,024

    Mark, this seems to have done the trick - and...

    Mark,

    this seems to have done the trick - and also makes sense.


    many thanks for your time!
  9. Replies
    2
    Views
    2,726

    Mark, the out of memory was due to the session...

    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...
  10. Replies
    5
    Views
    2,024

    Hi, I have 2 contexts, being...

    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>
    ...
  11. Replies
    5
    Views
    2,024

    Spring re-creates singleton beans

    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...
  12. Replies
    2
    Views
    2,726

    Spring managed Struts Actions

    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,...
  13. iksrazal, here it is. As I mentioned before...

    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?
    ...
  14. I've now found out why the lazy loading doesnt...

    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,...
  15. OpenSessionInViewFilter lazy initialization exception

    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...
  16. Thread: Acegi and Tiles

    by drc
    Replies
    1
    Views
    940

    Acegi and Tiles

    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 &...
  17. Replies
    1
    Views
    777

    Can authenticate, cant authorize

    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...
  18. Replies
    7
    Views
    5,299

    Integrating Tiles with Spring using Struts

    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! ...
Results 1 to 18 of 18