ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Question on workflow API & webclient!!

Post new topic  Reply to topic
 Question on workflow API & webclient!! « View previous topic :: View next topic » 
Author Message
sarasu
PostPosted: Mon Dec 03, 2007 2:49 pm    Post subject: Question on workflow API & webclient!! Reply with quote

Master

Joined: 02 Feb 2006
Posts: 229

Hi..We are suing MQWF 3.5.0.5..with webclient. We have our application like this ...webapplication --> Business Component --> Workflow Engine.

We are using the user authentication from application to the Business component and from there to workflow engine using Java Api.

My question here is :: will the workflow server creates a session internally for every logon(), queryworkitems(), etc..using the same user ID?

webapplication --> Business Component --> Workflow Engine
---- Authentication()---> logon()----------> session1
execusion server.query()------->session2
etc...
Is this suggestable, what if a user logon() 100 times separately?
Are there any pros & cons using this?

One mroe question is if i have 100 users in the workflow engine. Is it possible to use a single USERID to connect to the workflow engine from the Business component layer? I mean every user id belongs to the workfloe engine must connect through this USERID only.
Any problems with this?

Replies are greatly appreciated!!
Back to top
View user's profile Send private message
vennela
PostPosted: Mon Dec 03, 2007 10:08 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Quote:
One mroe question is if i have 100 users in the workflow engine. Is it possible to use a single USERID to connect to the workflow engine from the Business component layer? I mean every user id belongs to the workfloe engine must connect through this USERID only.

I think so
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sarasu
PostPosted: Tue Dec 04, 2007 9:11 am    Post subject: Reply with quote

Master

Joined: 02 Feb 2006
Posts: 229

Ok..but is it a good practice to create a separate session of each logon() of the same user ?
Back to top
View user's profile Send private message
jmac
PostPosted: Tue Dec 04, 2007 12:53 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

You should try to avoid:

logon()
do someting
logoff()

I am not certain I am following exactly what you are asking.
_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
sarasu
PostPosted: Wed Dec 05, 2007 8:29 am    Post subject: Reply with quote

Master

Joined: 02 Feb 2006
Posts: 229

we would like to know how the business component layer will maintain the workflow session for each userID who login?

Thanks
Back to top
View user's profile Send private message
hos
PostPosted: Thu Dec 06, 2007 4:30 am    Post subject: Reply with quote

Chevalier

Joined: 03 Feb 2002
Posts: 470

I assume with business component layer you mean web client - right?
A session has - like any other MQWF object - a unique ID. This ID is maintained by the web client and reused for every API call that the logged-on user performs. So each physically logged-on user has exactly one MQWF session.

Quote:
execusion server.query()------->session2


does not reflect the correct picture. A query call returns a list of objects. All of these objects belong to session1. No additional sessions are created.

Hope this helps. You can find more info about MQWF session handling in the Programming Guide.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Question on workflow API & webclient!!
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.