I finally got around to writing this: http://blog.jayfields.com/2011/02/clojure-web-socket-introduction.html
Cheers, Jay ---------- Forwarded message ---------- From: Sean Allen <[email protected]> Date: Dec 24 2010, 11:58 pm Subject: websockets w/ clojure To: Clojure Jay, Do you have any publicly released code I could take a look at? I've only found a couple of jetty/clojure/websocket examples and would love to have more I could study. -Sean- On Fri, Dec 24, 2010 at 7:53 PM, Jay Fields <[email protected]> wrote: > I've written a few Clojure websocket apps and used Jetty. Things worked out > fine and there wasn't much code at all to integrate. I'd recommend it. > Sent from my iPhone > On Dec 24, 2010, at 11:58 AM, Sean Allen <[email protected]> > wrote: > We did a prototype application using websockets for work using node.js as > the server. > Websocket client connects, sending some basic info... said info is used to > repeatedly get > new data from a database that is pushed down as it arrives in the db to the > client which displays. > There will be more than 1 client, each with its own data constraints that > are used to get the data > to send. > If it goes into production we need to run on the jvm so I've been rewriting > in clojure. I spent a couple > hours yesterday trying to figuring out the best websockets option to use w/ > the clojure based server > before I gave up. I realized w/o any background I'm just running blind. > Given the basic idea of the application, what is the best websockets > abstraction to use w/ clojure? > Aleph? The jetty websocket support? Something else? > Pointers from anyone will more experience doing a websocket server in > clojure greatly appreciated. > Thanks, > Sean > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to <[email protected]> > [email protected] > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > <[email protected]> > [email protected] > For more options, visit this group at > <http://groups.google.com/group/clojure?hl=en> >http://groups.google.com/group/clojure?hl=en > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > [email protected]<clojure%[email protected] > > For more options, visit this group at >http://groups.google.com/group/clojure?hl=en -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
