How to use WebSocket with a Jetty emdedded custom server

lorindawnianw

New Member
I'm new to StackOverflow. I've searched about the topic, but I did not find anything really relevant.Basically I need to develop a web 'Support Chat' system for our company. I know that there are a lot of available solutions out of there, but we need a custom solution in Java. We need to build a Support Chat web system where users that visit the web site can ask for support using the chat, and on the other side we have 'n' agents that take care of requests. We need to store each bit of conversation in our Cassandra cluster for Business Intelligence purpose. We need to develop the solution in Java (server side) and Java+JQuery (client side).EDIT:After examining many XMPP based solutions (many are pretty old and no longer supported), probably I'll go with a XMPP-like custom protocol that covers only the features we need. To develop the solution WebSocket seems to be the most appropriate technology. The question is, where to start ? I googled but nothings or less about how to use WebSocket with Jetty. Any link? Any resource?Basically my thought is:
  • A CHAT SERVER based on Jetty Embedded
  • A small front end for the web applications (Java) that needs to talk to the server.
  • Communication is based on WebSocket to avoid polling (the real problem)
  • The XMPP-style protocol for XML over WebSocket. But this is not the problem.
The problem in how to use WebSocket with a Jetty emdedded custom server and web application.I think that now the question is more clear. Sorry for my previous 'talk about' style question.
 
Back
Top