[jboss-user] [JBoss Seam] - Re: Using Seam for portlet communication
jarkko@jab.fi
do-not-reply at jboss.com
Wed Sep 20 19:22:56 EDT 2006
According to http://wiki.java.net/bin/view/Portlet/JSR168FAQ " How do I achieve inter-portlet communication ?" one can use the Application Scope for intra portlet communication.
If in action2.java i change the scope to APPLICATION it works as "expected".
| @Stateful
| @Name("action2")
| @Scope(ScopeType.APPLICATION)
|
But does this mean that the action2 and it's state is now shared with all the users? If so changing the scope to application is some kind of dissolution.
This is what Seam docs say about the application scope: http://docs.jboss.com/seam/1.0.0.GA/reference/en/html/concepts.html#d0e2123
Would it be possible to use the Business process context to transfer data between portlets? Or maybe add new context which is shared between portlets for one user. It's pretty weird that the Session context is not already shared between the portlets.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973109#3973109
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973109
More information about the jboss-user
mailing list