Skip to content

Commit 541ea1e

Browse files
committed
Add the RX examples
1 parent 60076d3 commit 541ea1e

File tree

7 files changed

+529
-0
lines changed

7 files changed

+529
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.3.9/apache-maven-3.3.9-bin.zip

reactive-programming/README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Very simple RX examples
2+
3+
This project contains the RX examples given in the book. There are far from being a complete introduction to reactive
4+
programming and RX-Java.
5+
6+
The examples are intended to be run directly from the _main_ method of the different classes. So, once imported in
7+
your IDE, you should be able to run them. Alternatively, you can package the project and run them using:
8+
9+
10+
```
11+
java -cp target/reactive-programming-example-1.0-SNAPSHOT.jar FULLY_QUALIFIED_CLASS_NAME
12+
```
13+
14+
For example:
15+
16+
```
17+
java -cp target/reactive-programming-example-1.0-SNAPSHOT.jar io.vertx.book.rx.ObservableExample
18+
19+
```
20+
21+
## Packaging the project
22+
23+
Just run:
24+
25+
```
26+
./mvnw package
27+
```
28+
29+
On Windows, use:
30+
31+
```
32+
./mvnw.bat package
33+
```
34+
35+

reactive-programming/mvnw

Lines changed: 236 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)