JBoss Optimizations 101
Subject:   O/R Mapping Tools and JBoss
Date:   2003-05-30 01:07:10
From:   anonymous2
Response to: O/R Mapping Tools and JBoss

Well, as I said, it is no more about JBoss here, but about Hibernate. From the JBoss point of view, if you use SLSB, there will be no locking (per EJB spec) and thus:
- you may have multiple requests for the same data at the same time, it is up to hibernate to handle that correctly (if such thing is necessary)
- the caching cannot be handled by JBoss (as no entities are involved in the process) thus it is the job of Hibernate
- the distributed cache invalidation framework is useless as you don't use entities, so see if Hibernate has something similar

As for transactions maybe you should think about marking your SLSB methods as "Required" instead of playing with UserTransaction (if that makes sense in your app).



1 to 1 of 1
  1. O/R Mapping Tools and JBoss
    2003-05-30 03:43:32  anonymous2 [View]

1 to 1 of 1