From c2dd2caef7aabb2c7a6a17411b48b8c7da94c25f Mon Sep 17 00:00:00 2001 From: Matthias Kurz Date: Tue, 23 Jan 2024 11:13:36 +0100 Subject: [PATCH] Mention server backend in the README --- play-java-grpc-example/README.md | 5 +++++ play-scala-grpc-example/README.md | 5 +++++ play-scala-tls-example/README.md | 6 ++++++ 3 files changed, 16 insertions(+) diff --git a/play-java-grpc-example/README.md b/play-java-grpc-example/README.md index fda4f61e0..892e6902c 100644 --- a/play-java-grpc-example/README.md +++ b/play-java-grpc-example/README.md @@ -6,6 +6,11 @@ This is an example application that shows how to use Akka gRPC to both expose an For detailed documentation refer to https://www.playframework.com/documentation/latest/Home and https://developer.lightbend.com/docs/akka-grpc/current/ . +## Server backend + +By default, the project uses the Akka HTTP Server backend. To switch to the Netty Server backend, enable the `PlayNettyServer` sbt plugin in the `build.sbt` file. +In the `build.sbt` of this project, you'll find a commented line for this setting; simply uncomment it to make the switch. +For more detailed information, refer to the Play Framework [documentation](https://www.playframework.com/documentation/3.0.x/Server). ## Sample license diff --git a/play-scala-grpc-example/README.md b/play-scala-grpc-example/README.md index ad98c4095..cc867a34c 100644 --- a/play-scala-grpc-example/README.md +++ b/play-scala-grpc-example/README.md @@ -6,6 +6,11 @@ This is an example application that shows how to use Akka gRPC to both expose an For detailed documentation refer to https://www.playframework.com/documentation/latest/Home and https://developer.lightbend.com/docs/akka-grpc/current/ . +## Server backend + +By default, the project uses the Akka HTTP Server backend. To switch to the Netty Server backend, enable the `PlayNettyServer` sbt plugin in the `build.sbt` file. +In the `build.sbt` of this project, you'll find a commented line for this setting; simply uncomment it to make the switch. +For more detailed information, refer to the Play Framework [documentation](https://www.playframework.com/documentation/3.0.x/Server). ## Sample license diff --git a/play-scala-tls-example/README.md b/play-scala-tls-example/README.md index 9b4db3171..ffd09a8a8 100644 --- a/play-scala-tls-example/README.md +++ b/play-scala-tls-example/README.md @@ -8,6 +8,12 @@ You must have JDK 11 installed on your machine to run this, to take advantage of * [Adoptium OpenJDK](https://adoptium.net/) +## Server backend + +By default, the project uses the Akka HTTP Server backend. To switch to the Netty Server backend, enable the `PlayNettyServer` sbt plugin in the `build.sbt` file. +In the `build.sbt` of this project, you'll find a commented line for this setting; simply uncomment it to make the switch. +For more detailed information, refer to the Play Framework [documentation](https://www.playframework.com/documentation/3.0.x/Server). + ## Generate Certificates To use HTTPS, you must have X.509 certificates. Generating certificates can be painful, so all the scripts needed to generate the certificates needed are included in the `scripts` directory. For more detail, you can see the [Certificate Generation](https://www.playframework.com/documentation/latest/CertificateGeneration) section in Play WS SSL.