You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.
| Online: | 16 Members of 4080 |
| Forum: Seam Users |
23. Sep 2008, 06:15 CET | Link |
We are developing an RIA app which involves a lot of collaborative multi user interactivity. The interaction is very rapid so the state must be maintained in memory. The chat example which comes with the Seam distribution uses JBoss Cache for this purpose, but we have several reasons why we can't use this:
1. We can't depend on any specific caching technology for several business reasons. 2. We have a complex inhouse validation framework for our services and the best solution would be to create a set of stateful Seam services.
The problem is that Seam does not appear to provide a multi-user
scope we can use to share data between several clients. The PROCESS scope is not suitable because we don't want a business process and jBPM is not an option considering the rapid response collaborative nature of the application.
We need to create a custom scope which is similar to the conversation scope, but is not coupled to a single user and is based on a pre-defined collaborative uid instead of a generic reusable conversation id. Later on these custom scoped services will be tied to JMS channels which queue up messages related to the context.
I believe Spring now allows you to create custom scopes specifically to address these issues. Can this be done in Seam? Or are we forced to use JBoss Cache?
Many Thanks!
Hi Paul, It seems we have the same problem :P
I made a post, but nobody could answer this question :S
See u later :)
This will be supported in Web Beans
Read about how to report a bug.
More please! What are web beans? Are they part of the next release? I don't see anything in the release documentation.
Thanks
partially answering myself http://www.seamframework.org/WebBeans