https://github.com/humbertodias/java-eclipse-rap-demo
Aplicación Java Web usando RAP (Remote Application Platform).
https://github.com/humbertodias/java-eclipse-rap-demo
eclipse-rap
Last synced: 8 months ago
JSON representation
Aplicación Java Web usando RAP (Remote Application Platform).
- Host: GitHub
- URL: https://github.com/humbertodias/java-eclipse-rap-demo
- Owner: humbertodias
- Created: 2017-01-09T19:37:03.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-14T23:56:01.000Z (over 9 years ago)
- Last Synced: 2025-10-04T04:00:08.325Z (8 months ago)
- Topics: eclipse-rap
- Language: Java
- Homepage:
- Size: 59.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Java EE con RAP
Aplicación Java Web usando RAP (Remote Application Platform).
## Prerequisitos
1. Maven 3+
2. Java 8+
## Como correr
1. Clon
```
git clone https://github.com/humbertodias/java-eclipse-rap-demo.git
```
2. Entrar en la carpeta
```
cd java-eclipse-rap-demo
```
3. Correr
### http/1
```
mvn jetty:run -Djetty.http.port=9999
```
ou
### http/2
```
mvn -f pom.http2.xml jetty:run-forked
```
```
[INFO] Started ServerConnector@715b886f{HTTP/1.1,[http/1.1]}{0.0.0.0:9999}
[INFO] Started @25039ms
[INFO] Started Jetty Server
[INFO] Using Non-Native Java sun.nio.fs.PollingWatchService
[WARNING] Quiet Time is too low for non-native WatchService [sun.nio.fs.PollingWatchService]: 1000 < 5000 ms (defaulting to 5000 ms)
```
4. Por último, en su navegador
### http/1
[http://localhost:9999/demo](http://localhost:9999/demo)
### http/2
[https://localhost:8444/demo](https://localhost:8444/demo)
# Salida

## Referencias
1. [RAP Remote Application Platform](http://www.eclipse.org/rap/)
2. [Jetty Maven Plugin](http://www.eclipse.org/jetty/documentation/current/jetty-maven-plugin.html)