On 01/02/2012 21:57, Petr Praus wrote:
> Hello,
> we're group of three CS grad students taking a course in advanced
> networking. As a course project, each of us has implemented a basic
> websocket server in Java with functionality roughly equal to the current
> state of Mark's patch. The next stage of the project is to continue in a
> group and get the implementation as far as possible. Since building our own
> standalone websocket server (that does just websocket) doesn't really make
> sense, we'd like to join in the effort to make websocket available in
> Tomcat.
> 
> We've a few questions:
> 1) Is there an interest in our help?

Absolutely.

> 2) What are the priority TODOs we should start considering?

See [1]. In my view the priority is:
- handle the other control messages - especially close.
- handle multi-frame messages
then
- follow-up on Costin's comments re a lighter-weight approach of
wrapping the socket
- more and better examples
- a lot more JavaDoc
- let the API bed down a little and then talk to Jetty about possibly
aligning APIs

> 3) Some examples (e.g. echo server) of how to use the current
> implementation to write a servlet would be nice. It'd help us to get up to
> speed more quickly.

See [2]. Two very simple examples that need some expansion but it should
give you the general idea.

> Also, please note that although this is a course project sanctioned by the
> professor, we're not really doing this as a course requirement but rather
> out of our personal interest in contributing to open source. The scope of
> the class project is 2-3 weeks but that of course doesn't mean we'll
> abandon the code after that :)

Glad to hear it :)

Kind regards,

Mark

[1]
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/websocket/StreamInbound.java?view=annotate

[2]
http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/websocket/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to