项目作者: humbertodias

项目描述 :
Aplicación Java Web usando RAP (Remote Application Platform).
高级语言: Java
项目地址: git://github.com/humbertodias/java-eclipse-rap-demo.git
创建时间: 2017-01-09T19:37:03Z
项目社区:https://github.com/humbertodias/java-eclipse-rap-demo

开源协议:

下载


Java EE con RAP

Aplicación Java Web usando RAP (Remote Application Platform).

Prerequisitos

  1. Maven 3+
  2. Java 8+

Como correr

  1. Clon

    1. git clone https://github.com/humbertodias/java-eclipse-rap-demo.git
  2. Entrar en la carpeta

    1. cd java-eclipse-rap-demo
  3. Correr

    http/1

    1. mvn jetty:run -Djetty.http.port=9999

    ou

    http/2

    1. mvn -f pom.http2.xml jetty:run-forked
  1. ```
  2. [INFO] Started ServerConnector@715b886f{HTTP/1.1,[http/1.1]}{0.0.0.0:9999}
  3. [INFO] Started @25039ms
  4. [INFO] Started Jetty Server
  5. [INFO] Using Non-Native Java sun.nio.fs.PollingWatchService
  6. [WARNING] Quiet Time is too low for non-native WatchService [sun.nio.fs.PollingWatchService]: 1000 < 5000 ms (defaulting to 5000 ms)
  7. ```
  1. Por último, en su navegador

    http/1

    http://localhost:9999/demo

    http/2

    https://localhost:8444/demo

Salida

Referencias

  1. RAP Remote Application Platform
  2. Jetty Maven Plugin