Michael Gustav Simon <mgsimon <at> gmail.com> writes: > > Have anyone an ideo to get a portletinstance per user? >
Michael, you *really* would not want this. This approach would never scale and this is exactly why there is only one portlet instance per VM (actually, this isn't quite correct, as you can configure multiple instances, but the point is that it is not on a per-user basis). However, there is the portlet session, and this is one-to-one with portlet users. I think what you really want to do is create a singleton service that would manage the mapping of user sessions to "chat connections" or what ever. The portlet would then use this service to determine what traffic belongs to the logged in user. Just remember to make your service thread-safe! HTH, aaron --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
