Giter Site home page Giter Site logo

00mjk / javaee7-websocket Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mgreau/javaee7-websocket

0.0 0.0 0.0 2.52 MB

WebSocket Protocol with Java API for WebSocket (JSR 356), WebSocket API (JS - W3C) and AngularJS deployed on WildFly 10

Home Page: http://javaee7-websocket.mgreau.com

License: MIT License

JavaScript 17.85% Java 48.14% CSS 23.43% HTML 10.58%

javaee7-websocket's Introduction

WebSocket Java EE 7 - AngularJS - WildFly 10 Docker

Build Status

This project shows how to use the WebSocket Protocol with:

  • Java API for WebSocket (from Java EE 7 specifications)

  • WebSocket HTML 5 / Javascript API (from W3C)

  • AngularJS framework

  • Deployed on WildFly 10.0.0.Final on a Docker Container

  • Build with Maven in a Docker Container

Docker Way

$ docker-machine create --driver virtualbox javaee7-websocket
$ eval $(docker-machine env javaee7-websocket)
# Build the project with Maven
$ docker-compose up
# Deploy the app on WildFly in a Docker container
$ docker-compose -f deploy.yml up
$ open http://$(docker-machine ip javaee7-websocket)
Screenshot of the WebSocket Java EE 7 demo with a severals matches and AngularJS deployed on WildFly
Figure 1. Multiple matches in live (US OPEN)

Install on your local WildFly 10 Application Server

  1. Clone this project:

    git clone https://github.com/mgreau/javaee7-websocket
  2. Start wildfly:

    $JBOSS_HOME/bin/standalone.sh
  3. Build the war and deploy it automatically with maven:

    mvn clean package jboss-as:deploy
  4. Open your browser on http://localhost:8080/usopen/index.html

javaee7-websocket's People

Contributors

mgreau avatar

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.