Hebert Coelho wrote:I do like to use Hibernate through JPA api because if you need to move from Hibernate to Toplink you will not need to change the classes code.
Only the persistence.xml and the jar. For performance I do not have any data about that. =/
Pedro Kowalski wrote:
To sum up - my point was that because you're heavily discouraged (or even forbidden) to spawn and manage threads in Java EE it doesn't mean that you cannot do some heavy multithreaded processing.
Cheers!
Pedro Kowalski wrote:Doesn't the asynchronous calls and CDI's observer allows you to achieve the given scenario?
Cheers!
Pedro Kowalski wrote:
Could you elaborate on this one? Why do you think that spawning and managing new threads by developer is a good thing?
Cheers!
Roel De Nijs wrote:If I understand correctly you implemented a fat client: the client makes seperate calls to lock, update/delete and unlock?
Roel De Nijs wrote:Passing OCMJD deserves a seperate thread, instead of just a post in someone else's passing ocmjd thread