-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4367937
By: sousa1981
ZK Team must integrate SPRING BEAN SCOPE SESSION, because:
1. Spring is one of the most important framework and they said zk integrate with spring very well.
2. All my previous code with JSF was using Spring Beans with Session Scope.
3. It is bring problem work with spring without session scope.
<bean id="workflow" parent="daoTxTemplate">
<property name="proxyInterfaces">
<list>
<value>com.opensymphony.workflow.Workflow</value>
</list>
</property>
<property name="target">
<ref local="myWorkflowFactory" />
</property>
</bean>
<bean id="myWorkflowFactory"
class="com.bci.bcioe.osymph.MyWorkflowFactory">
<property name="configuration">
<ref local="workflowConfiguration" />
</property>
</bean>
I need put myWorkflowFactory as scope="session" and it is bring many problem in real web app in production.
Regards,
Marcos de Sousa
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4367983
By: sousa1981
It had in BUG and REQUEST list since: 2007-01-21 11:54 [ 1640685 ] Spring Integration.
Today it is about 5 months with no help, no answer.
And now is out a book which will show spring integration, I don't now how it will be full done!?
Regards,
Marcos de Sousa
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4368015
By: sousa1981
I am having some success with the following configuration:
<!-- a HTTP Session-scoped bean exposed as a proxy -->
<bean id="msg" class="com.nemex.sgc.bean.Msg"
scope="session">
<!-- this next element effects the proxying of the surrounding bean -->
<aop:scoped-proxy />
</bean>
MY SESSION SCOPE IS NOW WORKING VERY WELL.
Regards,
Marcos de Sousa
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4368096
By: sousa1981
FINAL NOTE: I tested the code bellow with zk 2.4.0
<!-- a HTTP Session-scoped bean exposed as a proxy --> <bean id="msg" class="com.nemex.sgc.bean.Msg"
scope="session">
<!-- this next element effects the proxying of the surrounding bean --> <aop:scoped-proxy /> </bean>
Must be tested with zk 2.x.x, previous not worked.
After I test it very well I will post result here.
Regards,
Marcos de Sousa
Asked: 2007-06-18 14:06:35 +0800
Seen: 354 times
Last updated: Jun 18 '07