mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cameron Taggart (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DIRMINA-234) Simple HTTP server based on Jakarta HttpComponents Core and MINA
Date Wed, 13 Dec 2006 06:32:25 GMT
    [ http://issues.apache.org/jira/browse/DIRMINA-234?page=comments#action_12458027 ] 
            
Cameron Taggart commented on DIRMINA-234:
-----------------------------------------


I saw the announcement about HttpCore 4.0-alpha3 and started reading through the documentation.
 In the documentation I found a reference to MINA here:

http://wiki.apache.org/jakarta-httpclient/HttpCoreNioApi

"In many ways HttpCore NIO is very similar to MINA. MINA API represents quite elegant and
natural way of dealing with non-blocking I/O and anyone developing a event-driven I/O transport
is bound to come up with a similar interface. There are several significant differences as
well. HttpCore NIO reactor is minimalistic, bare-bone I/O multiplexer. HttpCore NIO does not
and will not provide any buffering or threading primitives. It is meant to serve as an efficient
asynchronous I/O transport for HttpCore and nothing else. Input/output buffering is meant
to be implemented by data receiver / data transmitter respectively and development of threading
primitives is entirely out of HttpCore scope.

If you are interested in supporting multiple protocols on top of a robust, flexible and well
supported I/O transport mechanism please use MINA. HttpCore runs perfectly well on top of
MINA. "

Does this mean that an HttpCore running on top of MINA exists?  I would also be interested
is seeing a MINA based HttpClient.

> Simple HTTP server based on Jakarta HttpComponents Core and MINA
> ----------------------------------------------------------------
>
>                 Key: DIRMINA-234
>                 URL: http://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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message