This content has been marked as final.
Show 3 replies
-
1. Re: Thread model for @Service beans?
starksm64 Feb 23, 2006 1:17 PM (in response to lhoriman)Then general answer is that an aspect should be controlling the invocation delivery semantics. For the current implementation details of @Service I don't know.
In general, an interface annotation on a pojo maps to a container that includes the various middleware aspects, pooling, caching, security, transport, etc. The ejb3 container is a hybrid of the aop and next gen pojo microcontainer that has not normalized all aspects as yet. Unifying these is a work in progress. -
2. Re: Thread model for @Service beans?
bill.burke Feb 23, 2006 3:56 PM (in response to lhoriman)Service beans are multi-threaded. Use Java synchronization if you want serialized access.
-
3. Re: Thread model for @Service beans?
lhoriman Feb 23, 2006 4:39 PM (in response to lhoriman)"bill.burke@jboss.com" wrote:
Service beans are multi-threaded. Use Java synchronization if you want serialized access.
Perfect - thanks!
Jeff