Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Problem using transactions with AOP.

  1. #11
    Join Date
    Sep 2007
    Posts
    9

    Smile

    mdeinum thanks a lot for your help. Now I go for my initial problem... the transactions.


  2. #12
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,626

    Default

    If you use this configuration, removed the creation of all the new application contexts and injecting the Dao then that should be solved too.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

  3. #13
    Join Date
    Sep 2007
    Posts
    9

    Default

    You are right ! ...

    I tryed the same code for transaction than yesterday, but with the new implementation for getting the applicationContext, and works perfect !!

    I think i must understand how and when beans are created by spring ....


    Thanks a lot for your help.

  4. #14
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,626

    Default

    Your welcome, glad that it works.

    Checkout the sample applications and check the configurations of those. Also readup on the reference guide that should clear things up. You can always buy a book on Spring ofcourse.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

  5. #15
    Join Date
    Sep 2007
    Posts
    9

    Default

    wich one do you suggest?

  6. #16
    Join Date
    Sep 2006
    Location
    UK
    Posts
    8,424

    Default

    Quote Originally Posted by rrecoba View Post
    wich one do you suggest?
    There have been a good number of discussions on Spring books in the past, you might want to do a search. Spring in Action (second edition), was recommended to me recently but I haven't had time to look over it yet. There's also a wide selection of resources out there.
    http://karldmoore.blogspot.com/2007/...an-i-find.html
    Barracuda Networks SSL VPN Lead Developer
    http://pramatr.wordpress.com
    http://twitter.com/karldmoore
    http://www.linkedin.com/in/karldmoore
    Any postings are my own opinion, and should not be attributed to my employer or clients.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •