Oops, I missed the point. Sorry about that.
Indeed, it's very easy to employ mina with httpcomponents.

Thanx for your work! and please forgive this newbie. :-)




2007/2/15, Oleg Kalnichevski (JIRA) <[EMAIL PROTECTED]>:


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

Oleg Kalnichevski commented on DIRMINA-234:
-------------------------------------------

Hi Rick,

The purpose of this sample was to show that the _protocol_ layer of
HttpComponents Core could be put on top of MINA with minimal efforts. I
never implied it was the most thread efficient way. As of release 4.0a3HttpCore 
has a full-featured NIO based HTTP transport layer, it is not using
MINA, though.


http://svn.apache.org/repos/asf/jakarta/httpcomponents/httpcore/trunk/module-nio/src/examples/org/apache/http/examples/nio/NHttpServer.java

http://svn.apache.org/repos/asf/jakarta/httpcomponents/httpcore/trunk/module-nio/src/examples/org/apache/http/examples/nio/NHttpClient.java

Oleg

> 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.


Reply via email to