Results 1 to 2 of 2

Thread: Spring MVC Netty Version (ie containerless)

  1. #1
    Join Date
    Sep 2010
    Location
    Waltham, MA
    Posts
    17

    Default Spring MVC Netty Version (ie containerless)

    Spring 3.0.x and greater has introduced some nice decoupling of the MVC annotations and the Servlet API. Thus in theory one could create a completely different Spring Web MVC framework using Spring's existing annotations (albeit the view adapters would have to be rewritten) for something like Netty.

    That is if your just using the annotations (ie @RequestMapping) you could in theory switch from Servlet container to non servlet container (Netty).

    The bulk of the work would be porting over the existing HttpServlet MVC (spring-webmvc) code to use Netty's request/response abstraction.

    I was curious if anyone had started down this path?

    This has been done before if people remember the good ole' portlet code.

  2. #2
    Join Date
    Apr 2005
    Location
    Porto Alegre, BR
    Posts
    6

    Default

    Hi agentgt,

    I'm working on in a project to execute Spring web application on Netty.io.
    Take a look:
    https://github.com/fabiofalci/cruzeira

    Actually, I'm not rewritten anything but just creating a Servlet API implementation between Netty and Spring.

    Thank you,
    Fabio

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •