Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    769

    Right ... I was thinking that even if you use...

    Right ...

    I was thinking that even if you use Spring AOP for coarse grained objects (or business objectw) as it is used for transaction demarcation, with millions of simultaneous transactions the...
  2. Replies
    2
    Views
    769

    Spring AOP using Proxy

    Hello,

    As Spring documentation states "Spring defaults to using J2SE dynamic proxies for AOP proxies". The other alternative is to use CGLIB proxies.

    However I'm a bit worried about first...
  3. Replies
    7
    Views
    3,085

    I must admit that this is quite interesting. From...

    I must admit that this is quite interesting. From your last traces it looks like the JDBC Connection is closed before JTATransactionManager triggers rollback.


    ...hmm.... may this indicate a...
  4. Replies
    7
    Views
    3,085

    Hi, From your trace it looks like...

    Hi,

    From your trace



    it looks like Spring transaction manager is setting the transaction to be rolled back but JTA transaction started by Weblogic when you're calling your EJB for some...
  5. Replies
    4
    Views
    1,276

    I forgot to mention about one other thing. If...

    I forgot to mention about one other thing. If some other participant of the transaction causes a rollback, and you want your broker to also rollback, then I guess DataSource from Broker needs to be...
  6. Replies
    4
    Views
    1,276

    Re: Transaction Propagation

    Here is how I see things:

    1. Make a POJO and wrap it around your Service layer.
    2. Make it transactional (very important).
    3. If your Broker layer throws an exception (e.g. SQLException) and it...
  7. Replies
    4
    Views
    1,276

    One solution that I see right now is to use POJO...

    One solution that I see right now is to use POJO wrappers over your "jar" objects, and make these POJO's to participate in a transaction e.g thourgh TransactionProxyFactoryBean.
  8. Replies
    4
    Views
    1,095

    It looks like there is very elegant way of...

    It looks like there is very elegant way of getting notified on rollback. AbstractPlatformTransactionManager uses TransactionSynchronizationManager to notify registered TransactionSynchronization...
  9. Replies
    4
    Views
    1,095

    Right, I don't really need to be notified on...

    Right, I don't really need to be notified on commit . Now regarding rollback I guess that by "watch" you mean to catch those exceptions. ... hmmm I would like a more graceful mechanism. I guess...
  10. Replies
    4
    Views
    1,095

    Transactional POJOs

    Hi,

    Here is a scenario:

    1. Assume that I have 2 beans that are business logic POJOs
    2. I'm making these 2 beans part of the same transaction.
    3. From bean A I call a method from bean B
    4....
Results 1 to 10 of 10