[JBoss Seam] - Re: POJO with conversational scope
by joris77
Henrik
Thanks for your reply. I am sorry. I think I haven't been quite clear.
There is one method with a @Begin anotation (doSomething) and two methods with an @End annotation. After the @Begin method is called and has returned to the client, the client does a postback (with a h:commandButton) to a method (doAnotherThing) on the bean. The instance variable person (annotated as an entity) has the value of null in doAnotherThing while it had been set to a non null value in the @Begin annotated method (doSomething).
Like this
...
| @Name("depot")
| @Scope(ScopeType.CONVERSATION)
| public class Depot {
|
| @Logger
| private Log log;
|
| private Person person;
| ....
|
| @Begin
| public void doSomething(){
| person = ...;
| }
|
| public String doAnotherThing(){
| ... = person; // here the value of person is null
| }
|
| @End
| public void ......
|
| ...
This is is logical when I compare this to the logging I get because the POJO is destroyed and recreated. But it doesn't meet my expectations for a conversation scoped component. I expect the component to be stored somewhere over requests.
My most important question is are my expectations correct?
Joris
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032643#4032643
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032643
19Â years
[JBoss jBPM] - A number of jBPM questions
by mr_ortega
Greetings,
I'm currently investigating the possibility to utilize jBPM in our company's project. So I have a few questions regarding this framework.
1.How does one setup a simple workflow? Describe some standard scenarios with examples
2.What kind of scalability does JBoss provide?
2a. Is it possible to setup multiple work item processors on a single machine?
2b. Is it possible to have the workflow setup across multiple machines or in a cluster?
2c. How is the deployment of multiple processors on a single machine/ across multiple machines managed?
3.What are the options to visualize the state/status of each work item processor or the work items themselves? Can custom UIs be built to display status?
4.Is it possible to build standalone apps that can independently pick work items, process them and push the results back to the workflow?
5.How are manual steps incorporated in the workflow?
6.Is there a way to remotely deploy and manage the system through a single console?
7.What is the CPU/memory footprint of a skeletal deployment?
8.What are the basic system requirements for a deployment?
9.What are the supported databases for the workflow and which are the most commonly used ones for enterprise deployments?
10.What are the standard testing strategies for a workflow?
11.What is the dependence of the JBPM to the JBoss application server?
Sorry if my questions list looks quite big, but all these questions are quite critical for the decision.
Thanks in advance for all your answers!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032640#4032640
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032640
19Â years