Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

Want opinions on Tomcat / Websockets integration.

Ranch Hand
Posts: 409
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A year or so after creating my own websocket server, I wrote a blog article expressing my thoughts on Websocket / Tomcat server integration. (WebSockets with Apache Tomcat and HLL) I lean heavily toward not really caring much. Don't get me wrong, I use Tomcat a lot. It's one of my favorite things. I pointed out in the article that the Websocket connection is completely separate from any HTTP connection you make to get your Web Page or whatever. It doesn't matter where the Websocket machine is relative to the HTTP server.

But I'm starting to have some second thoughts and since I've noticed so many people asking about Tomcat / Websockets, I'm wondering if others have already formulated another view. If I for some reason wanted my Websocket related code interacting with app code developed with servlets under Tomcat, then I could easily do so by putting at least one object in the scope of the Tomcat application that could communicate with the Websocket application ... but that's already starting down the slippery slope of integration. ON the other hand, why not just use the Websocket connection ... or ...

Any general thoughts on the subject, pro or con?
Legend has it that if you rub the right tiny ad, a genie comes out.
We need your help - Coderanch server fundraiser
    Bookmark Topic Watch Topic
  • New Topic