On Thu, 27 Dec 2001, Gene Chuang wrote: > Hi Matt, > > Thanks for the pointers, I will definitely be using a proxy/delegate model for > client-side ejb calls. This way the client won't know nor care whether its calling >an > ejb, creating a to-do task, or calling the service-out-of-order delegate which will > return the appropriate response. > > However, we do in fact intend to make many of our web requests asynchronous. In >fact, > many currently are: for example, if the client want to add money to an account, this > ultimately gets called out to an asyncronous outside process (bank, credit card >company > or what not), and the money isn't verified and actually added to the account until >later. > So we are only shooting ourselves in the foot by artificially stipulating all >requests > are synchronous when by nature many are not.
Ah, I hadn't thought of that. Within the context of my current project we only care about synchronous events. Loading a page or accomplishing a task of some kind has to be synchronous; it either works or something has gone horribly wrong. > For now I will categorize all web possible requests into two groups, synchronous and > asynchronous. Things like login obviously will have to be synchronous, and if the > ejb-service for login verification is down, then user is screwed non-the-less. > Ultimately though I would like to be able to bundle all requests as asynchronous. Wouldn't it also be shooting yourself in the foot if you turned the inherently synchronous transactions, such as logging in, into asynchronous ones? I'm not seeing how that would be a benefit. -M@ > So in > the meantime I have a synchronous/asynchronous hybrid simply as a proof of concept; >this > hybrid will not necessarily be any more robust than what we currently have. > > Gene =========================================================================== 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".
