On 5/29/07, Deepal Jayasinghe <[EMAIL PROTECTED]> wrote:
Hi Amila, I do agree with your new proposal ,
but the the issue is each and every
handler needs call the next handler in the chain. In that case control is with the module author not with Axis2.
yes. Actually this is the beauty of this design. Handler can decide whether to forward a message or not and even it can send new messages without invoking the Axis2 Engine as in the current implementation. In the current implementation
handler will process the message and let AxisEngine know whether to continue the message or not , so engine will drive the flow.
This is why it is more complex. And other
thing handler has to do inform AxisEngine since it is enforced by the return value , but how can we enforce to call the next handler in the chain.
When someone writing a program he is supposed to do it correctly. we can not tolerate with any design if the implementers do it wrongly. Suppose Axis2 Engine writer fogotten to call transportSender invoke. Nothing would happen. See the servlet filters. there also filter writer must call next if he wants to forward. On the other hand, if you have chosen the current architecture (besides it complexity compared to layered architecture) just because of this reason I believe it would be worth to put a -1 for that decision. Most importantly if we are going to implement your proposal there will
be API changes in the handler API, which I really do not like. So what we can do is to improve the logic w.o changing the API.
Are you saying that this is not the time to discuss these things and only option is to proceed what we have? Thanks Amila. Thanks
Deepal > > here with I have attached the pdf format. > > On 5/28/07, *Amila Suriarachchi* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > hi, > here with I have attached an document which describes some of the > problems > I see with the current axis2 architecture and a possible solution. > > Please have a look and put your comments. > > Amila. > > -- > Amila Suriarachchi, > WSO2 Inc. > > > > > -- > Amila Suriarachchi, > WSO2 Inc. > ------------------------------------------------------------------------ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Thanks, Deepal ................................................................ "The highest tower is built one brick at a time" --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Amila Suriarachchi, WSO2 Inc.
