You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Rick Haebin Na (JIRA)" <ji...@apache.org> on 2007/02/15 02:45:05 UTC

[jira] Commented: (DIRMINA-234) Simple HTTP server based on Jakarta HttpComponents Core and MINA

    [ https://issues.apache.org/jira/browse/DIRMINA-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12473282 ] 

Rick Haebin Na commented on DIRMINA-234:
----------------------------------------

If you are creating a thread per session, wouldn't it make the server extremely inefficient? can we put thread pool (such as CachedThreadPool) in the handler?

if you did it on purpose, could you explain to me why?

> Simple HTTP server based on Jakarta HttpComponents Core and MINA
> ----------------------------------------------------------------
>
>                 Key: DIRMINA-234
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-234
>             Project: MINA
>          Issue Type: New Feature
>    Affects Versions: 0.9.5
>            Reporter: Oleg Kalnichevski
>         Attachments: mina-httpcore-httpserver.tar.gz, mina-httpcore-httpserver.tar.gz
>
>
> I am submitting my first cut at a HTTP server based on Jakarta HttpComponents Core and MINA for your review and feedback. This is a very simple but nonetheless a full-featured and HTTP/1.1 compliant HTTP file server that supports connection persistence, chunk coding, correctly handles older (HTTP/1.0) clients among many things. I believe this sample code makes evident that it takes fairly little code and effort to put the HttpCore protocol stack on top of MINA I/O model. 
> This version is still far from being perfect and am working on a more advanced version that integrates better with MINA's asynchronous I/O layer.
> Feedback, suggestions, critique will be hugely appreciated
> Oleg

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


RE: [jira] Commented: (DIRMINA-234) Simple HTTP server based on Jakarta HttpComp

Posted by James Ladd <ja...@hotmail.com>.
Good question Rick.


>From: "Rick Haebin Na (JIRA)" <ji...@apache.org>
>Reply-To: dev@mina.apache.org
>To: dev@mina.apache.org
>Subject: [jira] Commented: (DIRMINA-234) Simple HTTP server based on 
>Jakarta HttpComponents Core and MINA
>Date: Wed, 14 Feb 2007 17:45:05 -0800 (PST)
>
>
>     [ 
>https://issues.apache.org/jira/browse/DIRMINA-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12473282 
>]
>
>Rick Haebin Na commented on DIRMINA-234:
>----------------------------------------
>
>If you are creating a thread per session, wouldn't it make the server 
>extremely inefficient? can we put thread pool (such as CachedThreadPool) in 
>the handler?
>
>if you did it on purpose, could you explain to me why?
>
> > Simple HTTP server based on Jakarta HttpComponents Core and MINA
> > ----------------------------------------------------------------
> >
> >                 Key: DIRMINA-234
> >                 URL: https://issues.apache.org/jira/browse/DIRMINA-234
> >             Project: MINA
> >          Issue Type: New Feature
> >    Affects Versions: 0.9.5
> >            Reporter: Oleg Kalnichevski
> >         Attachments: mina-httpcore-httpserver.tar.gz, 
>mina-httpcore-httpserver.tar.gz
> >
> >
> > I am submitting my first cut at a HTTP server based on Jakarta 
>HttpComponents Core and MINA for your review and feedback. This is a very 
>simple but nonetheless a full-featured and HTTP/1.1 compliant HTTP file 
>server that supports connection persistence, chunk coding, correctly 
>handles older (HTTP/1.0) clients among many things. I believe this sample 
>code makes evident that it takes fairly little code and effort to put the 
>HttpCore protocol stack on top of MINA I/O model.
> > This version is still far from being perfect and am working on a more 
>advanced version that integrates better with MINA's asynchronous I/O layer.
> > Feedback, suggestions, critique will be hugely appreciated
> > Oleg
>
>--
>This message is automatically generated by JIRA.
>-
>You can reply to this email to add a comment to the issue online.
>

_________________________________________________________________
Advertisement: Fresh jobs daily. Stop waiting for the newspaper. Search now! 
www.seek.com.au  
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau&_t=757263760&_r=Hotmail_EndText_Dec06&_m=EXT