On 1/19/2011 11:24 PM, Isuru Suriarachchi wrote: > > > On Thu, Jan 20, 2011 at 6:14 AM, Deepal Jayasinghe <deep...@gmail.com > <mailto:deep...@gmail.com>> wrote: > > Now I remember why we introduce this jar feature. As you might know > single POJO deployment has few drawbacks: > - can have single class > - cannot have a package name > - cannot refer to any other classes > > To overcome these problem one can deploy a POJO as a jar file, but > need to annotate the service class using JSR181 (@WebService). Which > helps them to deploy services without worrying to write services.xml. > > > Currently we can't deploy JSR 181 annotated services in the "services" > folder. That functionality has been removed long time ago. So this > kind of an annotated POJO should be deployed in the "servicejars" > folder. Therefore, supporting .jar files for AAR services is no longer > useful. My mistake, then go for it,
Deepal > > Thanks, > ~Isuru > > > Hence, I still think this has a valid use case, in fact and no problem > of keeping it. > > Deepal > > On Wed, Jan 19, 2011 at 2:53 AM, Srinath Perera <srin...@wso2.com > <mailto:srin...@wso2.com>> wrote: > > I am +1 on removing, way to get good usability is to do what is > > advertised, no more, no less. > > --Srinath > > > > On Fri, Jan 7, 2011 at 6:34 PM, Deepal Jayasinghe > <deep...@gmail.com <mailto:deep...@gmail.com>> wrote: > >> I would not worry about having jar support since that does not > break anything. > >> > >> Deepal > >> > >> On Thu, Jan 6, 2011 at 12:18 AM, Isuru Suriarachchi > <isur...@gmail.com <mailto:isur...@gmail.com>> wrote: > >>> Hi all, > >>> > >>> In the current Axis2 trunk, even if I rename a .aar file in the > >>> repository/services folder to .jar, it is getting deployed as > a .aar file. > >>> This happens because of the following code in the > DeploymentFileData class. > >>> > >>> public static boolean isServiceArchiveFile(String filename) { > >>> return ((filename.endsWith(".jar")) | > (filename.endsWith(".aar"))); > >>> } > >>> > >>> So do we need to support .jar files as well? I can remember > that we > >>> supported JAX-WS services also in the "repository/services" > folder before it > >>> was moved into "servicejars". Is this code something left from > that > >>> implementation or is this intensional? Shouldn't we remove the > support for > >>> .jar extension? > >>> > >>> WDYT? > >>> > >>> Thanks, > >>> ~Isuru > >>> > >>> -- > >>> Technical Lead, > >>> WSO2 Inc. http://wso2.org/ > >>> Blog : http://isurues.wordpress.com/ > >>> > >> > >> > >> > >> -- > >> http://blogs.deepal.org > >> > >> > --------------------------------------------------------------------- > >> To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org > <mailto:java-dev-unsubscr...@axis.apache.org> > >> For additional commands, e-mail: java-dev-h...@axis.apache.org > <mailto:java-dev-h...@axis.apache.org> > >> > >> > > > > > > > > -- > > ============================ > > Srinath Perera, Ph.D. > > Senior Software Architect, WSO2 Inc. > > Visiting Lecturer, University of Moratuwa > > Member, Apache Software Foundation > > Research Scientist, Lanka Software Foundation > > Blog: http://srinathsview.blogspot.com/ > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org > <mailto:java-dev-unsubscr...@axis.apache.org> > > For additional commands, e-mail: java-dev-h...@axis.apache.org > <mailto:java-dev-h...@axis.apache.org> > > > > > > > > -- > http://blogs.deepal.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org > <mailto:java-dev-unsubscr...@axis.apache.org> > For additional commands, e-mail: java-dev-h...@axis.apache.org > <mailto:java-dev-h...@axis.apache.org> > > > > > -- > Technical Lead, > WSO2 Inc. http://wso2.org/ > Blog : http://isurues.wordpress.com/