Hey Matthias,
hmm... I don't understand the conversation (dialog, wizard) scope
exactly. Is this a pretty common scope or an orchestra own name?
As the hightlights says:
"
It utilizes the powerful Spring bean configuration mechanism instead
of JSF's managed-bean facility. The release of Spring 2.0 made it
possible to define custom bean scopes in Spring. If a JSF Managed
bean is declared in Spring using the Orchestra "conversation" scope,
then when that bean is referenced from a JSF EL expression it is
automatically created within that conversation scope. It is not
necessary for non-conversation-scoped managed beans to be declared
via Spring, although we do recommend it: request and session scopes
are also supported and you benefit from having one common syntax for
defining the beans of your application, from the AOP features Spring
provides, and from Spring's other advanced features.
"
Orchestra can be used to don't declare managed-beans in the faces-
context.xml.
That is actually what I want.. I don't have some "JSF" beans and some
spring beans in two seperate different syntax conf files. I just want
to use spring DI. Then I can handle all the beans with the aop, and
other spring stuff.
So, the question is now... what are the benefit of the conversation
scope? and what is it exactly?
Thank you very much!
Am 28.09.2007 um 10:07 schrieb Matthias Wessendorf:
Hi Martin,
Cagatay's blog is about using Spring's bean facility to *declare*
Managed Beans.
No need for a declaration of your managed beans inside the
faces-config.xml file.
Orchestra is about providing a conversion (wizard) scope, that is
between request and session.
See the Orchestra docs ([1]) for more
-M
[1] http://myfaces.apache.org/orchestra/index.html
On 9/28/07, Martin Dames <[EMAIL PROTECTED]> wrote:
Hey all,
I saw yesterday the following solution for using spring app context
for managing beans in jsf:
http://cagataycivici.wordpress.com/2007/09/10/using-spring-to-manage-
jsf-beans/
So this is the same solution as orchestra offers, right?
Where are the benefits of using an extra lib (orchestra) instead of
just doing the solution above?
When I am using the conversation scope, can I use the session or
request scope at the same time? (Ok, this would be a spring question
I think)
Thank you!
--
Matthias Wessendorf
further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org