Posted: Tue Mar 08, 2005 8:37 pm Post subject: Triggering a java program as activity implementation.
Voyager
Joined: 22 Oct 2002 Posts: 93 Location: Montreal
Can we invoke a java class as an activity implementation. The activity i want to model is an automatic activity. The activity implementation class queries some other external application and updates the container.
Can this be done without a UPES (queues)? What do i have to do in Buildtime (Program properties sheet) to invoke a java class.
I guess i would have to choose PEA in the Execution tab and automatic option under start tab in the activity properties sheet in buildtime to trigger the java class?
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
Anuup:
I think you are on the right track:
Look at the samples canned with the product. There is a java activity implementation along with the fdl and readme. Try running it first and you will have a very good idea of how it can be done.
The directory on windows is
<WMQ Workflow install root>\SMP\java\actimpl
For me it is
C:\Program Files\IBM WebSphere MQ Workflow\SMP\java\actimpl
I discourage you to use a PEA to start a Java activity implementation in a production environment. The next logical step will be that you ask for the Java High Performance Bridge because of the overhead of starting a JVM. PEA and JHPB are not recommended and not strategic. I strongly recommend to use an UPES instead.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum