On Thu, Jan 20, 2011 at 6:14 AM, Deepal Jayasinghe <[email protected]>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.
> Hence, I still think this has a valid use case, in fact and no problem
> of keeping it.
>

Have you tested putting a .jar file without having a services.xml to
services folder?

thanks,
Amila.




>
> Deepal
>
> On Wed, Jan 19, 2011 at 2:53 AM, Srinath Perera <[email protected]> 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 <[email protected]>
> 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 <[email protected]>
> 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: [email protected]
> >> For additional commands, e-mail: [email protected]
> >>
> >>
> >
> >
> >
> > --
> > ============================
> > 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: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
>
>
>
> --
> http://blogs.deepal.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Reply via email to