Graham,
There was a Very recent thread on this. Check the archives!
-Chris.
> -----Original Message-----
> From: Graham Parsons [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, May 11, 2000 7:12 AM
> To: [EMAIL PROTECTED]
> Subject: Queuing requests to a Session Bean
>
> Are there any suggested design patterns for queuing multiple requests to
> the same Stateful Session Bean (in order to avoid the exception because
> Session Beans can only handle one request at a time).
>
> We are in an HTML - JSP - Java - EJB environment and the user is clicking
> more than one button at a time - both of which send a request to the same
> session bean.
>
> We could use:
>
> * JavaScript to disable the buttons once one is clicked
> * Trap multiple clicks in the JSP or Java layer and queue (synchronise I
> presume on a common method)
>
> Neither is very attractive as we are being code intrusive and I just
> wondered how others had got around this problem.
>
> Thanks
>
> Graham
>
> ==========================================================================
> =
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
> ==========================================================================
> =
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".