Not sure if quite follow, but you *can* send multiple requests from a client
to a UIMA AS service. There are two different methods for sending CASes from
application that uses UIMA AS client:

1) synchronous, using sendAndReceive()
2) asychronous, using sendCAS()

#1 above blocks until a reply is received. If you want to be able to send
multiple requests from your application you need to instantiate as many UIMA
AS clients as necessary.

#2 above doesnt block. You can send as many CASes to a service as there
CASes in your CAS Pool. In this case, you plug in to the UIMA AS client a
Listener object to receive callbacks. The listener will be called with a
unique CAS id before it is sent to the service. It is also called when a
reply comes back.

Please let me know if you need any more help.

Regards, Jerry C


On Mon, Jan 18, 2010 at 4:11 AM, Neha Yadav <[email protected]> wrote:

> Hi  all,
> I have been working to create a UIMA-AS environment from last some days. As
> per the documentation I could achieve the Server and Client compatibility.
> Now I am testing for multiple similar deployment descriptors to
> simultaneously run  and if multiple client requests are sent, so will the
> processing be executed on all the different or only one of them.
> I even read in UIMA-AS documentation that there is a feature of sending
> multiple requests from the client. I want to know how can we send multiple
> requests in spite of the response from the server.
>
> Thanks in advance,
>
> Regards,
> Neha
>
>

Reply via email to