Posted: Fri Sep 20, 2002 9:32 am Post subject: Threading in Java APIs
Master
Joined: 30 Jan 2002 Posts: 237 Location: Virgina
Hi,
I am using stateless EJB as the custom client for Workflow. We 've a client server configuration (two physical m/cs). The client m/c has Websphere App Server where the EJB is deployed and MQseries client, MQWorkflow client as well as the Java agent. The server m/c has Workflow server and DB2 database server. In our EJB we 've utility classes on which different methods are implemented to call workflow server(query/ checkout etc....). As far as i know none of the MQWorkflow Java APIs are threadsafe (am i right ?). So do i need to synchronize all the methods defined in the utility classes of EJB ?. If not how do i achieve threadsafe operations in the EJB. i am getting some inconsistent errors which i feel is because of this threading issue.
Pl comment...
thx
-manoj _________________ -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