Giter Site home page Giter Site logo

lab4-websockets's Introduction

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.

In progress:

  • Replace the current implementation (Eclipse Grizzly) by a Spring Websockets implementation
  • Turn the DOCTOR into a client of the server, so, the server acts only as message broker.

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.