Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [JBoss Seam] - Design Questions

scott.stark@jboss.org

2007-05-03


I have a seam bean, conversational, and in this bean I have delegated work out to another bean (8 actually!).

Since the main bean is conversational I require these delegated beans to do work within my conversation.

I biject these delegates using:

|   /**
|    * Biject the nameDescriptionStepController
|    */
|   @In(create=true) @Out
|   private SectionStepController nameDescriptionStepController;
|

What should I set the beans to be as they really dont have a @Begin and @End?

They currently are :

| @CacheConfig(idleTimeoutSeconds=1800) // This keep the object "alive" longer than the session.
| @Stateful // A component stays in existance for the duration of the Scope (conversation in this instance).
| @Name("nameDescriptionStepController") // Name used within SEAM for an instance of this class.
| @Conversational // Scope that this class exists in.
|

but I get the occasional "not in long running conversational....

I use the contents of a beans in the GUI.. hence they are outjected.



I must be missing a piece oif the jigsaw.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042811#4042811

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042811
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.