摘要 |
A method and a system for exchanging messages between a server (S) and a set of clients applications (CA 1 , ..,CA m ) in a MES system,comprising: a) creating a set of logical units (LU 1 , ..., LU n ) within the server (S) for enabling the processing of concurrent access requests to the repository (REP); b) providing, within the server (S), a module called smart pool manager (SPM); c) providing a smart communication communicator (SMC) for exchanging messages; the invention further comprising at run time: d) by one client application (CA 1 ), sending to the smart message communicator (SMC) a given input smart message; e) executing the given data access request by performing the following sub-items: e1) by the smart message communicator, asking the smart pool manager (SPM) to select the available logical unit; e2) by the smart pool manager (SPM), selecting the logical unit according to the specific selection criteria applied to the updated status table and informing the smart message communicator (SMC); e3) by the smart message communicator (SMC), requesting the selected logical unit to execute the given data access request; e4) by the selected logical unit (LU j ), executing the given data access request to the repository; e5) by the selected logical unit, returning (5) to the smart message communicator the outcome of the given data access request execution; e6) notifying the smart pool manager about the execution termination of the selected logical unit (LU j ); e7) by the smart pool manager, updating the status table; g) by the smart message communicator (SMC), returning (8) to the at least one client application (CA 1 ) an output smart message with output parameters specifying information on the outcome of the given data access request execution. |