Author |
Message
|
smallsunw |
Posted: Sun Feb 22, 2004 8:21 pm Post subject: PEA |
|
|
Newbie
Joined: 21 Feb 2004 Posts: 8
|
Hi,
Does anyone know what is the difference between using PEA(program execution agent) and UPES to invoke program? Which one is better? Does anyone have examples on using PEA to invoke program?
Thanks. |
|
Back to top |
|
 |
jmac |
Posted: Mon Feb 23, 2004 5:59 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
PEA is used in Fat client scenarios for Human attended activities.
UPES is used for Automatic activities in Fat or Thin client scenarios.
If you are in a fat client environment you can use the PEA, for your human activities, in the think client environment that is generally not done. There are samples of all of these in the MQWF samples libraries when you install. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
smallsunw |
Posted: Mon Feb 23, 2004 8:49 am Post subject: |
|
|
Newbie
Joined: 21 Feb 2004 Posts: 8
|
Quote: |
PEA is used in Fat client scenarios for Human attended activities. |
I have looked at the examples of the MQ Workflow, I found an example in which the PEA is started by the servlet, my questions are:
1)Why the PEA can be started in the servlet, and what is difference between it and starting with a command?
2)Can PEA be used by web client to invoke program? |
|
Back to top |
|
 |
jmac |
Posted: Mon Feb 23, 2004 8:57 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
While the thin client can start a PEA it is rare, I personally am not aware of anyone using this in a "production" situation.
The key difference is with a PEA you can issue a start() method to run an activity, without one you must use checkout()/checkin(). _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
smallsunw |
Posted: Mon Feb 23, 2004 9:12 am Post subject: |
|
|
Newbie
Joined: 21 Feb 2004 Posts: 8
|
Quote: |
The key difference is with a PEA you can issue a start() method to run an activity, without one you must use checkout()/checkin(). |
if checkout/checkin is not needed, how do I know the task is already completed by someone? |
|
Back to top |
|
 |
Ratan |
Posted: Mon Feb 23, 2004 9:30 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
When you issue a start and Wf receives the output data for that activity and Activity is set for 'Automatic Exit', activity finishes. If Activity is set for manual exit, someone has to finish it. _________________ -Ratan |
|
Back to top |
|
 |
smallsunw |
Posted: Mon Feb 23, 2004 10:16 am Post subject: |
|
|
Newbie
Joined: 21 Feb 2004 Posts: 8
|
Quote: |
The key difference is with a PEA you can issue a start() method to run an activity |
Quote: |
PEA is used in Fat client scenarios for Human attended activities. |
For the Human attended activities, do you mean activites needed to checkin/checkout? So is there contradiction between these 2 statements? |
|
Back to top |
|
 |
jmac |
Posted: Mon Feb 23, 2004 10:42 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
I see no contradiction in these statements, but then again, I know MQWF. Perhaps it's time for you to read some of the manuals. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
dsim |
Posted: Tue Feb 24, 2004 7:41 pm Post subject: |
|
|
Acolyte
Joined: 11 Aug 2003 Posts: 67 Location: Toronto
|
An answer to your initial question can be found in Web Client documentation: 'Executing activities with the Web client'
Quote: |
A PEA executes programs for an MQ Workflow user and is therefore suited for interactive programs that must be started on the client machine. Each client has an own PEA installed. In contrast, a (U)PES is not related to a particular user and is therefore suited for executing non-interactive programs. A UPES is usually installed on a server machine. |
Dan |
|
Back to top |
|
 |
smallsunw |
Posted: Wed Feb 25, 2004 6:36 am Post subject: |
|
|
Newbie
Joined: 21 Feb 2004 Posts: 8
|
Quote: |
An answer to your initial question can be found in Web Client documentation: 'Executing activities with the Web client' |
Where can I find this documentation? Thanks. |
|
Back to top |
|
 |
dsim |
Posted: Wed Feb 25, 2004 7:18 am Post subject: |
|
|
Acolyte
Joined: 11 Aug 2003 Posts: 67 Location: Toronto
|
The Web Client documentation comes and gets installed with the product. On Windows it's in Programs->IBM WebSphere MQ Workflow->Web Client documentation
Dan |
|
Back to top |
|
 |
|