Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to cancel all previous Service calls from Service queue?

Jaykishan-OracleOct 31 2011 — edited Nov 4 2011
I have three fields on the screen. On each field value change I am calling a web service to calculate the result. Result is displayed once the response is received.

To achieve this, I am using PPR for these three fields.

But I am encountering a problem. While value change on the first field service is being executed. During the execution of this service, if user changes next field then It waits until first service request is completed. Only after that second request is entertained.

I need to cancel all previous request from the queue and start execution of the latest request.

I believe I need to somehow maintain and access the request pool on service side. Is this possible? I am using Oracle ADF.

Mine objective is to let user experience fast and quick results. For a end user there should be like a single request generated result.

Please help !!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 2 2011
Added on Oct 31 2011
5 comments
231 views