/lab4-websockets

Lab 4. WebSockets. Deadline 2020-12-04

Primary LanguageJava

Build Status

Web Engineering 2020-2021 / Websockets

In this assignment your PR must only modify the README.md file. Please, go to the Wiki in order to get the instructions for this assignment.

Historical background

The code implements the script DOCTOR of the ELIZA system and provides you a client and server that communicate each other by means of websockets. ELIZA is an early example of primitive natural language processing developed by Joseph Weizenbaum between 1964 and 1966. ELIZA operated by processing users' responses to scripts, the most famous of which was DOCTOR, a simulation of a Rogerian psychotherapist. Using almost no information about human thought or emotion, DOCTOR sometimes provided a startlingly human-like interaction.

Primary goal

The objective is to complete ElizaServerTest.java by completing the test onChat that now is ignored. The onChat test must:

  • Send a message from the client to the server that is running a Java implementation of the script DOCTOR.
  • Check the client receives a DOCTOR question about your mental health (see examples in Eliza.java).

You must remove @Ignore and place up to 6 lines of code to fulfil the task. The location of Complete Me!! is just a hint, but there are many possible solutions and locations. ElizaServerTest.java includes the test onOpen that will provide you insights.

Secondary goals (:gift:)

Solutions must meet primary goals too.

Done:

In progress:

  • Replace the current implementation (Eclipse Grizzly) by a Spring Websockets implementation

Proposed:

  • Support STOMP in the server side and create a small client that uses it
  • Support SockJS in the server side and show that xhr-polling can be used as transport instead of WebSocket when needed (additional info)
  • Use the server as a relay server to connect to an external message broker (e.g. RabbitMQ, additional info)

Note: unless the goal specifies o disallows a specific framework you are free to replace the framework used in the original implementation with a different framework.

Manifest your intention first by a PR updating this README.md with your goal. If you desist of your goal, release it by a PR so other fellow can try it.

NIA User name Repo Build Status Improvement Score
760704 Álvaro García Alvarogd6/lab4-websockets Build Status Replace the current implementation (Eclipse Grizzly) by a Spring Websockets implementation
758906 Raúl Javierre rauljavierre/lab4-websockets Build Status Turn the DOCTOR into a client of the server, so, the server acts only as message broker 🎁
757153 Fran Morés Fran-sw/lab4-websockets Build Status
758803 Daniel González Uncastellum/lab4-websockets Build Status
757715 Hayk kocharyan hayk99/lab4-websockets Build Status
758267 Pedro Allué piter1902/lab4-websockets Build Status
739202 Luis Garcia luisgg98/lab4-websockets Build Status
755742 Juan José Tambo jtambo99/lab4-websockets Build Status
761319 Marcos Nuez Markles01/lab4-websockets Build Status
766685 Enrique Ruiz Flores TheRealFreeman/lab4-websockets Build Status
756123 Rogelio Lacruz RogorStuff/lab4-websockets Build Status
740491 José Ignacio Hernández 740491/lab4-websockets Build Status
760739 Alberto Calvo Rubió AlbertoCalvoRubio/lab4-websockets Build Status
738233 Sergio Torres 740491/lab4-websockets Build Status