You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Alex Karasulu <ak...@apache.org> on 2008/03/11 17:33:42 UTC

Re: svn commit: r635812 - in /mina/asyncweb/trunk: common/pom.xml fileservice/pom.xml pom.xml server/pom.xml

Excellent thanks for this.  BTW eventually I'd like to start discussing the
various extension points for the container.  Like bundles for services and
filters.

Alex

On Tue, Mar 11, 2008 at 2:25 AM, <jv...@apache.org> wrote:

> Author: jvermillard
> Date: Mon Mar 10 23:25:03 2008
> New Revision: 635812
>
> URL: http://svn.apache.org/viewvc?rev=635812&view=rev
> Log:
> fixed Asyncweb poms for OSGi
>
> Modified:
>    mina/asyncweb/trunk/common/pom.xml
>    mina/asyncweb/trunk/fileservice/pom.xml
>    mina/asyncweb/trunk/pom.xml
>    mina/asyncweb/trunk/server/pom.xml
>
> Modified: mina/asyncweb/trunk/common/pom.xml
> URL:
> http://svn.apache.org/viewvc/mina/asyncweb/trunk/common/pom.xml?rev=635812&r1=635811&r2=635812&view=diff
>
> ==============================================================================
> --- mina/asyncweb/trunk/common/pom.xml (original)
> +++ mina/asyncweb/trunk/common/pom.xml Mon Mar 10 23:25:03 2008
> @@ -25,8 +25,9 @@
>   </parent>
>   <modelVersion>4.0.0</modelVersion>
>   <artifactId>asyncweb-common</artifactId>
> +  <packaging>bundle</packaging>
>   <name>Apache Asyncweb Common</name>
> -  <packaging>bundle</packaging>
> +
>
>   <properties>
>     <exportedPackage>${groupId}.common</exportedPackage>
>
> Modified: mina/asyncweb/trunk/fileservice/pom.xml
> URL:
> http://svn.apache.org/viewvc/mina/asyncweb/trunk/fileservice/pom.xml?rev=635812&r1=635811&r2=635812&view=diff
>
> ==============================================================================
> --- mina/asyncweb/trunk/fileservice/pom.xml (original)
> +++ mina/asyncweb/trunk/fileservice/pom.xml Mon Mar 10 23:25:03 2008
> @@ -25,7 +25,7 @@
>     <version>0.9.0-SNAPSHOT</version>
>   </parent>
>   <artifactId>asyncweb-fileservice</artifactId>
> -  <packaging>jar</packaging>
> +  <packaging>bundle</packaging>
>   <name>Apache Asyncweb File Service</name>
>
>   <dependencies>
>
> Modified: mina/asyncweb/trunk/pom.xml
> URL:
> http://svn.apache.org/viewvc/mina/asyncweb/trunk/pom.xml?rev=635812&r1=635811&r2=635812&view=diff
>
> ==============================================================================
> --- mina/asyncweb/trunk/pom.xml (original)
> +++ mina/asyncweb/trunk/pom.xml Mon Mar 10 23:25:03 2008
> @@ -263,7 +263,7 @@
>         <groupId>concurrent</groupId>
>         <artifactId>concurrent</artifactId>
>         <version>1.3.4</version>
> -      </dependency>
> +      </dependency>
>
>       <dependency>
>         <groupId>org.apache.mina</groupId>
>
> Modified: mina/asyncweb/trunk/server/pom.xml
> URL:
> http://svn.apache.org/viewvc/mina/asyncweb/trunk/server/pom.xml?rev=635812&r1=635811&r2=635812&view=diff
>
> ==============================================================================
> --- mina/asyncweb/trunk/server/pom.xml (original)
> +++ mina/asyncweb/trunk/server/pom.xml Mon Mar 10 23:25:03 2008
> @@ -18,16 +18,18 @@
>        under the License.
>  -->
>  <project>
> -  <modelVersion>4.0.0</modelVersion>
>   <parent>
>     <groupId>org.apache.asyncweb</groupId>
>     <artifactId>asyncweb-parent</artifactId>
>     <version>0.9.0-SNAPSHOT</version>
>   </parent>
> +  <modelVersion>4.0.0</modelVersion>
>   <artifactId>asyncweb-server</artifactId>
> -  <packaging>jar</packaging>
> +  <packaging>bundle</packaging>
>   <name>Apache Asyncweb Server</name>
> -
> +  <properties>
> +    <exportedPackage>${groupId}.server</exportedPackage>
> +  </properties>
>   <dependencies>
>     <!-- don't think this concurrent dependency is needed anymore -->
>     <dependency>
>
>
>

Re: svn commit: r635812 - in /mina/asyncweb/trunk: common/pom.xml fileservice/pom.xml pom.xml server/pom.xml

Posted by Julien Vermillard <jv...@archean.fr>.
Hi,

A good idea would be getting rid of the "concurrency" dependency.

It's used only for the ThreadPoolFilter, which is not needed for using
with MINA because MINA already do that.

The two options are : 
1 - short one : delete it, nobody use it, we all plug mina behind
Asyncweb,
2 - longer one : recode it using PooledExecutor (Java 1.5).

I'm voting for 1, but if there anybody using Asyncweb with Grizzly or
any other transport I can live with it :)

On the extensions point, I think you are right, we need to take a look
at the interfaces we need to expose and the different extetions
point/services a Aweb module need to provide.

Anyway I'm working on a little prototype using OSGi and Aweb, so I'll
probably can say more as soon I managed to plug everything together
with rubber duck tapes :)

Julien

On Tue, 11 Mar 2008 12:33:42
-0400 "Alex Karasulu" <ak...@apache.org> wrote:

> Excellent thanks for this.  BTW eventually I'd like to start
> discussing the various extension points for the container.  Like
> bundles for services and filters.
> 
> Alex
> 
> On Tue, Mar 11, 2008 at 2:25 AM, <jv...@apache.org> wrote:
> 
> > Author: jvermillard
> > Date: Mon Mar 10 23:25:03 2008
> > New Revision: 635812
> >
> > URL: http://svn.apache.org/viewvc?rev=635812&view=rev
> > Log:
> > fixed Asyncweb poms for OSGi
> >
> > Modified:
> >    mina/asyncweb/trunk/common/pom.xml
> >    mina/asyncweb/trunk/fileservice/pom.xml
> >    mina/asyncweb/trunk/pom.xml
> >    mina/asyncweb/trunk/server/pom.xml
> >
> > Modified: mina/asyncweb/trunk/common/pom.xml
> > URL:
> > http://svn.apache.org/viewvc/mina/asyncweb/trunk/common/pom.xml?rev=635812&r1=635811&r2=635812&view=diff
> >
> > ==============================================================================
> > --- mina/asyncweb/trunk/common/pom.xml (original)
> > +++ mina/asyncweb/trunk/common/pom.xml Mon Mar 10 23:25:03 2008
> > @@ -25,8 +25,9 @@
> >   </parent>
> >   <modelVersion>4.0.0</modelVersion>
> >   <artifactId>asyncweb-common</artifactId>
> > +  <packaging>bundle</packaging>
> >   <name>Apache Asyncweb Common</name>
> > -  <packaging>bundle</packaging>
> > +
> >
> >   <properties>
> >     <exportedPackage>${groupId}.common</exportedPackage>
> >
> > Modified: mina/asyncweb/trunk/fileservice/pom.xml
> > URL:
> > http://svn.apache.org/viewvc/mina/asyncweb/trunk/fileservice/pom.xml?rev=635812&r1=635811&r2=635812&view=diff
> >
> > ==============================================================================
> > --- mina/asyncweb/trunk/fileservice/pom.xml (original)
> > +++ mina/asyncweb/trunk/fileservice/pom.xml Mon Mar 10 23:25:03 2008
> > @@ -25,7 +25,7 @@
> >     <version>0.9.0-SNAPSHOT</version>
> >   </parent>
> >   <artifactId>asyncweb-fileservice</artifactId>
> > -  <packaging>jar</packaging>
> > +  <packaging>bundle</packaging>
> >   <name>Apache Asyncweb File Service</name>
> >
> >   <dependencies>
> >
> > Modified: mina/asyncweb/trunk/pom.xml
> > URL:
> > http://svn.apache.org/viewvc/mina/asyncweb/trunk/pom.xml?rev=635812&r1=635811&r2=635812&view=diff
> >
> > ==============================================================================
> > --- mina/asyncweb/trunk/pom.xml (original)
> > +++ mina/asyncweb/trunk/pom.xml Mon Mar 10 23:25:03 2008
> > @@ -263,7 +263,7 @@
> >         <groupId>concurrent</groupId>
> >         <artifactId>concurrent</artifactId>
> >         <version>1.3.4</version>
> > -      </dependency>
> > +      </dependency>
> >
> >       <dependency>
> >         <groupId>org.apache.mina</groupId>
> >
> > Modified: mina/asyncweb/trunk/server/pom.xml
> > URL:
> > http://svn.apache.org/viewvc/mina/asyncweb/trunk/server/pom.xml?rev=635812&r1=635811&r2=635812&view=diff
> >
> > ==============================================================================
> > --- mina/asyncweb/trunk/server/pom.xml (original)
> > +++ mina/asyncweb/trunk/server/pom.xml Mon Mar 10 23:25:03 2008
> > @@ -18,16 +18,18 @@
> >        under the License.
> >  -->
> >  <project>
> > -  <modelVersion>4.0.0</modelVersion>
> >   <parent>
> >     <groupId>org.apache.asyncweb</groupId>
> >     <artifactId>asyncweb-parent</artifactId>
> >     <version>0.9.0-SNAPSHOT</version>
> >   </parent>
> > +  <modelVersion>4.0.0</modelVersion>
> >   <artifactId>asyncweb-server</artifactId>
> > -  <packaging>jar</packaging>
> > +  <packaging>bundle</packaging>
> >   <name>Apache Asyncweb Server</name>
> > -
> > +  <properties>
> > +    <exportedPackage>${groupId}.server</exportedPackage>
> > +  </properties>
> >   <dependencies>
> >     <!-- don't think this concurrent dependency is needed anymore
> > --> <dependency>
> >
> >
> >