On Tue, Nov 4, 2008 at 8:35 PM, Deepal jayasinghe <[EMAIL PROTECTED]> wrote:
> Hi Amila , > > > > IMO we need to use different extensions for different type of > > services. transport should have something like > > http.tar. I think that is why we use .aar for service archives .mar > > for modules etc. > Yes I agree. But if we can have multiple deployer for same extension > then why not do that , in fact we have that support. So why do you want > to brake that , what do you achieve from that ? What I have mentioned below :) > > > > > > > In the meantime we do not loose anything if we register deployer with > > extension and the directory , so the key become extension + > directory. > > > > > > This depends on the people use it. For me what I would like to do is > > to specify a directory as my root service directory and organize the > > service files with some directory hierarchy and put the service archives > > in the directories I need. And for http case it should determine the > > service path from the directory relative to the root. > > > Since I am not a user , I do not know what to tell. But as a developer I > do not see any problem with the current way. And I think I will be -1 if > we trying to do major changes to deployment side , the reason is it is > stable and if you break that we are in a big trouble. And have learn a > good lesion from braking the deployment . > > you may ask why you can't specify all those directories in Axis2.xml > > and declare the extensions which I want to use with those directories. > > yes it is possible. but for me this is lot of work. if I change a > > directory name or add a new directory I need to update the Axis2.xml. > > And also with this way I am not sure how to figure out the http > > service path from the directory path since there is no any root > directory. > Amila , stuff you are talking does not happen regularly. Specially in > production environment . So changing axis2.xml is not a problem at all. > And even if you look at stuff like Jboss , Tomcat they have the same > thing , as long as you go with the default you are fine , if you need > additional stuff then you got to change configuration file. As I mentioned earlier this is about how people think about it. So I think one way and you think in another way :). Therefore if more people think that the current way is good enough lets keep it in that way. If more people want a change then do it in that way. Since this is a community. :) thanks, Amila. > > Deepal > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/
