This content has been marked as final.
Show 2 replies
-
1. Re: Concurrent Access to Seam Component
freakwave10 Apr 12, 2011 4:32 PM (in response to freakwave10)Perhaps I should add that my gateway does not have any shared instance variables, only local variables in the methods.
-
2. Re: Concurrent Access to Seam Component
lvdberg Apr 13, 2011 5:10 AM (in response to freakwave10)Hi,
I know that Seam synchronizes access to beans and besides that the Seam framework provides for a Synchronizer (annotation) which takes care of async access.
I prefer NOT to depend on the framework for this specific area, but to build a simple synchronized Queue myself, since Java 5 there is a concurrency package which simplifies the task substantially (basically a few lines). This allows you to add things like priorities also, something which Seam doesn' have at the moment.
Leo