2
0
Fork 0
mirror of https://github.com/ethauvin/rife2.git synced 2025-05-02 11:28:12 -07:00

More work on readme

This commit is contained in:
Geert Bevin 2022-10-30 21:15:39 -04:00
parent f21aa3a90b
commit ddd76851f3

View file

@ -28,6 +28,8 @@ public class HelloWorld extends Site {
The `main` method spins up the integrated embedded Jetty server, so that you can immediately start coding. The same `HelloWorld` class can be added as a The `main` method spins up the integrated embedded Jetty server, so that you can immediately start coding. The same `HelloWorld` class can be added as a
parameter value to your `web.xml`, requiring absolute no changes to your code between development and production. parameter value to your `web.xml`, requiring absolute no changes to your code between development and production.
Give it a try and visit [http://localhost:8080/hello](http://localhost:8080/hello)
Out-of-container testing is a first-class citizen in RIFE2, directly interacting with your `Site` class to simulate full request-response interactions, Out-of-container testing is a first-class citizen in RIFE2, directly interacting with your `Site` class to simulate full request-response interactions,
without having to spin up a servlet container. without having to spin up a servlet container.