You can write wrapper classes for MQ Workflow Java APIs and call them within the EJB... This way you are building a custom client.
If you are worried about connecting to MQ Workflow Engine within an EJB you can do it in two ways
1. Use Local bindings ( this will give you good performance but local bindings make use of JNI and this may not be preferred)
2. Use a java Agent _________________ -manoj
Let me explain in more details. I have written some ejb for doing some business activities. I have also writen jsp files for the activity. So when I check out from the web client, it will open my jsp files. And when I check in again, it will call my ejb to do the business activities. Can I do that in web client?
Yes...You have to call the EJB (Application code) within the JSP you developed for MQ Workflow workitem handling.
You may use want to use access beans to call the application EJB.
The typical implementation pattern will
1. JSP calls workflow check out workitem
2. JSP calls the application EJB to do some processing
3. After success JSP calls check in
if you want to use container managed transaction then be carefull that the MQ Workflow Java APIs do not participate in container managed transactions (at least i am not aware). _________________ -manoj
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