2
0
Fork 0
mirror of https://github.com/ethauvin/rife2-hello.git synced 2025-04-25 15:37:10 -07:00

Updated for RIFE2 1.1.1.

Added RIFE2 agent and relevant instructions.
Improved README.
This commit is contained in:
Geert Bevin 2023-02-13 08:30:34 -05:00
parent 1c93546fd7
commit 44637cc6fc
3 changed files with 42 additions and 10 deletions

View file

@ -42,6 +42,10 @@ Go to:
The resulting archive will be in:
`war/build/libs`
If you use any of the byte-code instrumented features , like continuations,
metadata merging or lazy-loaded database entities, you'll need to launch your
servlet container with the `-javaagent:[path-to]/rife2-*-agent.jar` argument.
Exactly how is dependent on each servlet container.
## Making an UberJar
@ -54,4 +58,26 @@ Then run it with:
```bash
java -jar app/build/libs/hello-uber-1.0.jar
```
```
If you use any of the byte-code instrumented features, you'll need to also tell
`java` to use the RIFE2 agent.
For example:
```bash
java -javaagent:[path-to]/rife2-*-agent.jar -jar app/build/libs/hello-uber-1.0.jar
```
## Get in touch
Thanks for using RIFE2!
If you have any questions, suggestions, ideas or just want to chat, feel free
to post on the [forums](https://github.com/gbevin/rife2/discussions), to join
me on [Discord](https://discord.gg/DZRYPtkb6J) or to connect with me on
[Mastodon](https://uwyn.net/@gbevin).
**Read more in the [full documentation](https://github.com/gbevin/rife2/wiki)
and [RIFE2 Javadocs](https://gbevin.github.io/rife2/).**