-
1. Re: Room Context Conversation ?
jguglielmin Sep 22, 2008 5:34 PM (in response to victormlzone)If you were considering using ICEfaces, you would just define each room as a
Render
Group. Each of their veiws(for that room) would be registered to the room's group, and any change in the view would be (ajax) pushed to the user's view. Not sure if you were considering ICEfaces, but thought I would outline the use for you here. There is an example of using ajax-push with Seam on the ICEfaces Downloads page Choose Projects, then there is a tab for Seam and seam-auctionMonitor is listed under the 1.7.0 projects (also works with ICEfaces 1.7.1 though). -
2. Re: Room Context Conversation ?
victormlzone Sep 22, 2008 5:39 PM (in response to victormlzone)HI, thanks for reply !!!.. Im not using ICEfaces, Im using Flex as my View. Anyway the principal part of this is How to keep a single instance per Room (group of user and diferent machines). ?
Having one seam component instance per Room give me the facility to use a clustered enviorament for all seam components.
I hope u can help me.
-
3. Re: Room Context Conversation ?
victormlzone Sep 23, 2008 10:21 PM (in response to victormlzone)Any suggestion? Please help me, I cant find the way to do this !!!
-
4. Re: Room Context Conversation ?
danielc.roth Sep 23, 2008 11:43 PM (in response to victormlzone)You could have a Application scoped
AllRoomManager
, which holds and manages the RoomManager instances. Then you have a conversation scoped component which has a reference to a certain RoomManager instance. -
5. Re: Room Context Conversation ?
victormlzone Sep 24, 2008 5:35 AM (in response to victormlzone)Hi Daniel, What do u mean when u say?:
You could have a Application scoped AllRoomManager, which holds and manages the RoomManager instancesI understand I can have a AllRoomManager Application scoped component. And inside this a RoomManager instances, maybe using a HashMap or some type of Object contanier. Is it what u mean?.. What would be the type of the RoomManager instance?... do u mean Conversation scoped?... If it does, how can I create a new Instance of this component?. Is it possible? to attach a new instance component inside another component (in the AllRoomManager Application scoped).
Thanks for reply Daniel, sorry for by bad english, Im Mexican :D see u the next.
-
6. Re: Room Context Conversation ?
danielc.roth Sep 24, 2008 9:38 AM (in response to victormlzone)RoomManager instance would not be scoped at all. It's just an object accessible from the application scoped AllRoomsManager component. Then you have a conversation scoped
RoomAction
, which has a reference to the currently used RoomManager.