[JBoss Seam] - clarification about propagation=
by codelion
First, that propagation="end" was hard to find. There was no example in the reference doc. I think only recently it mentions for s:link that propagation accepts "end" as option.
Pete mentioned a while ago that "none" leaves the conversation sitting around, while "end" disposes of it. So I'd like to use "end" more often, not to leave conversations around.
What's puzzling though is the following:
If in a my.page.xml for good reasons I have
<page>
| <begin-conversation join="true" />
| </page>
and then in that page I also have an "exit" with
<s:link view="/myOther.xhtml" value="Outta Here" propagation="end" />
then what happens if when I get to myOther.xhtml the conversation is still there. Actually I see its id passed in the URL with cid=1 even though in the URL there also is a conversationPropagation=end.
Now you folks who wrote that might think that's ok, but let's look at it as users of Seam.
That seems to be in contradiction to these ideas: begin-conversation promotes when entering the page. Then it is a long-running conversation. Propagation="end" should be effective on its way out of the page, leave the conversation behind.
I'm sure there is a reason. I've been looking at figure 9-3 in the The Java EE 5 Tutorial by Ball et al. when reading Seam reference section 6.1. This still puzzles me.
I'm getting used to the fact that the there are requests (that I knew well from writing servlets) and responses trying hard to help give the appearance of objects in the UI, and there can be a redirect that makes things complicated.
But can I please have a begin-conversation and then offer the user a link outta there where he ends that conversation? Simply?
For now I'll stick with propagation="none" though I think I want "end", no conversations lying around after "none".
Using a build from around March 15th.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033134#4033134
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033134
17Â years, 9Â months
[JBoss Seam] - Seam and RichCliente
by mauroï¼ automaware.com.br
Hi,
I´m working in a project heare in Brazil that will envolve the entire automation sector from an Province Bank. The first module that is what we are working now will be the new POS, but we will develop the new ATMs solution and the last mile will have an IntraNet solution.
We are in the first elaboration interaction from the first module(POS) and the
the Archtecture that we are validatin uses an Jboss Server Application (4.0.5) that will be placed on every unit(Agencia Bancaria) server (since it´s an bank to improve the province economy it has units far from and with not so good links) where we will have the server application that uses EJB3 Statefull and Stateless Session Beans an Mule as ESB (we have links with an Mainframe and xml and texts messages, web services and ....). In this clients we will using an Swing Application that will be up to date using WebStart so we need just Update this units server to replicate this update in all units terminals. This same approach will be used in ATM Application.
This to Applications nedds to be RichClients becouse it has a deep interaction with hardware (we will use J/XSF to comunicate with they). We will use command patterns and the command handler will comunicate with the sessions beans and its were the questions start:
I want to know it that is a short path to use SEAMs on client application, since we have JBoss on Servers and in future we will have an AJAX IntraNet stuffs and SEAMS offears some infra instructure, a security module and a stuffs.
We are implementing the command patterns on client and a command handler that comunicates with sessions beans ... there is way to consume session beans that are seam componetns? Using RMI ?
We are usin Validation too and since the server are local we will deatach the object and use it on client machine. We are loking Jgodies validation and Binds and maybe integrate this with hibernate validation creating some anottations like @validade and @validateAll to be used on view interface ...
But the big point is consume SessionBeans that are Seam Components and participatein seams context.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033127#4033127
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033127
17Â years, 9Â months