Hi chris what is your web site ?

-----Original Message-----
From: Chris Raber [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 11, 2000 3:38 PM
To: [EMAIL PROTECTED]
Subject: Re: Queuing requests to a Session Bean


Create a pool of stateless session bean references in your client. An
example pooling mechanism is in the Developer's Guide that you can get from
our web site. It it open source...

Regards,

-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".

Reply via email to