views:

180

answers:

2

someone said to me that jsf is better to share information within context, but struts 1.1 can't. In JSR168, if we need to develop a portlet, share information in context is critical. so jsf is better option.

so what is share information within context ? Does that mean that different application deployed in the same container can share date ? Or what other means ?

+1  A: 

I'm not sure to meet your question, but in my understanding you can use the BackingBeans to share information, if the scope is well-defined. And of course you've got the FacesContext to exchange information.

Peter Wippermann
A: 

As far as i know, in portlet FacesContext will be able to share information within a portlet application and not between portlet application. to share data between different portlet application, you have use some other techniques like dynacache in ibm portal or any portal specific technology.

Neeraj Sidhaye