Netty extension

6 messages Options
Embed this post
Permalink
jlouvel

Netty extension

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)

Hi all,

 

I’m glad to let you know that a Netty extension has been contributed to the Restlet Framework by Gabriel Ciuloaica. Netty was created by Trustin Lee, the founder of Apache MINA, and is part of JBoss Community: http://jboss.org/netty/

 

The extension is currently in the Restlet Incubator but it will likely become part of Restlet 2.0 M6. Gabriel also becomes the official maintainer of this new extension: http://www.restlet.org/about/team

 

I see this connector becoming a serious alternative to our Jetty based connectors for demanding production applications. Thanks Gabriel for the contribution and welcome as a new Restlet committer!

 

Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~
http://www.noelios.com

 

 

Rémi Dewitte-2

Re: Netty extension

Reply Threaded More More options
Print post
Permalink
Hello,

Great news again !

I have attached a patch so that I can build the extension. It includes some other fixes to have maven to work.

I have tested Netty but it seems that status code is not written properly.

Rémi



On Wed, Oct 14, 2009 at 09:20, Jerome Louvel <[hidden email]> wrote:

Hi all,

 

I’m glad to let you know that a Netty extension has been contributed to the Restlet Framework by Gabriel Ciuloaica. Netty was created by Trustin Lee, the founder of Apache MINA, and is part of JBoss Community: http://jboss.org/netty/

 

The extension is currently in the Restlet Incubator but it will likely become part of Restlet 2.0 M6. Gabriel also becomes the official maintainer of this new extension: http://www.restlet.org/about/team

 

I see this connector becoming a serious alternative to our Jetty based connectors for demanding production applications. Thanks Gabriel for the contribution and welcome as a new Restlet committer!

 

Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~
http://www.noelios.com

 

 



[netty-towork.patch]

Index: build/tmpl/poms/org.restlet.ext.netty.pom
===================================================================
--- build/tmpl/poms/org.restlet.ext.netty.pom (revision 0)
+++ build/tmpl/poms/org.restlet.ext.netty.pom (revision 0)
@@ -0,0 +1,28 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>@parent-group-id@</groupId>
+ <artifactId>@parent-artifact-id@</artifactId>
+ <version>@parent-version@</version>
+ </parent>
+
+
+ <artifactId>org.restlet.ext.netty</artifactId>
+ <name>Restlet Extension: Netty</name>
+ <description>Integration with Netty framework</description>
+
+ <dependencies>
+ <dependency>
+ <groupId>${groupId}</groupId>
+ <artifactId>org.restlet</artifactId>
+ <version>${version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.netty</groupId>
+ <artifactId>netty</artifactId>
+ <version>${lib-netty-version}</version>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+</project>
Index: build/tmpl/poms/org.restlet.ext.spring.pom
===================================================================
--- build/tmpl/poms/org.restlet.ext.spring.pom (revision 5479)
+++ build/tmpl/poms/org.restlet.ext.spring.pom (working copy)
@@ -32,27 +32,27 @@
  <dependency>
  <groupId>org.springframework</groupId>
  <artifactId>spring-core</artifactId>
- <version>${lib-spring-version}</version>
+ <version>${lib-spring-core-version}</version>
  </dependency>
  <dependency>
  <groupId>org.springframework</groupId>
  <artifactId>spring-context</artifactId>
- <version>${lib-spring-version}</version>
+ <version>${lib-spring-context-version}</version>
  </dependency>
  <dependency>
  <groupId>org.springframework</groupId>
  <artifactId>spring-beans</artifactId>
- <version>${lib-spring-version}</version>
+ <version>${lib-spring-beans-version}</version>
  </dependency>
  <dependency>
  <groupId>org.springframework</groupId>
  <artifactId>spring-web</artifactId>
- <version>${lib-spring-version}</version>
+ <version>${lib-spring-web-version}</version>
  </dependency>
  <dependency>
  <groupId>org.springframework</groupId>
  <artifactId>spring-webmvc</artifactId>
- <version>${lib-spring-version}</version>
+ <version>${lib-spring-webmvc-version}</version>
  </dependency>
  </dependencies>
 </project>
Index: libraries/org.jboss.netty_3.1/library.xml
===================================================================
--- libraries/org.jboss.netty_3.1/library.xml (revision 5479)
+++ libraries/org.jboss.netty_3.1/library.xml (working copy)
@@ -1,7 +1,7 @@
 <library id="netty">
  <package name="org.jboss.netty" />
  <version>3.1</version>
- <release>5</release>
+ <release>5.GA</release>
  <distributions>
  <distribution id="classic" />
  </distributions>

gciuloaica

RE: Re: Netty extension

Reply Threaded More More options
Print post
Permalink
Hi Rémi,

I have fixed the code. Can you re-test and confirm that is fixed?

Thanks,
Gabi

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=7458&dsMessageId=2407880
Rémi Dewitte-2

Re: Re: Netty extension

Reply Threaded More More options
Print post
Permalink
Hello,

I have retested and it is ok.

It seems that big operations are being done on the maven side and I have troubles building the restlet distrib. I had to manually fix the generated poms...

Rémi

On Thu, Oct 15, 2009 at 15:03, Gabriel Ciuloaica <[hidden email]> wrote:
Hi Rémi,

I have fixed the code. Can you re-test and confirm that is fixed?

Thanks,
Gabi

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=7458&dsMessageId=2407880

Thierry Boileau

Re: Netty extension

Reply Threaded More More options
Print post
Permalink
Hello Gabriel and Rémi,

the netty extension has been moved from the "incubator" to the "modules"
place.

Best regards,
Thierry Boileau

> Hello,
>
> I have retested and it is ok.
>
> It seems that big operations are being done on the maven side and I
> have troubles building the restlet distrib. I had to manually fix the
> generated poms...
>
> Rémi
>
> On Thu, Oct 15, 2009 at 15:03, Gabriel Ciuloaica <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Hi Rémi,
>
>     I have fixed the code. Can you re-test and confirm that is fixed?
>
>     Thanks,
>     Gabi
>
>     ------------------------------------------------------
>     http://restlet.tigris.org/ds/viewMessage.do?dsForumId=7458&dsMessageId=2407880
>     <http://restlet.tigris.org/ds/viewMessage.do?dsForumId=7458&dsMessageId=2407880>
>
>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=7458&dsMessageId=2408955
gciuloaica

RE: Re: Netty extension

Reply Threaded More More options
Print post
Permalink
I will checkout and build trunk today and see if there are any issues. I have some updates for test suite.
I will re-run those updates and then I will send  you the patch.

Thanks,
Gabi

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=7458&dsMessageId=2409016