From c647ca6f1f4dedff0a9bddbf392521222d6e5428 Mon Sep 17 00:00:00 2001 From: Jorge Bescos Gascon Date: Wed, 14 Aug 2024 11:24:13 +0200 Subject: [PATCH] Restore removed file Signed-off-by: Jorge Bescos Gascon --- examples/README.md | 139 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 139 insertions(+) create mode 100644 examples/README.md diff --git a/examples/README.md b/examples/README.md new file mode 100644 index 00000000000..6c366dc2ee7 --- /dev/null +++ b/examples/README.md @@ -0,0 +1,139 @@ +

+ +

+

+ + latest version + + + latest version + + + follow on Twitter + +

+ +# Helidon: Java Libraries for Microservices + +Project Helidon is a set of Java Libraries for writing microservices. +Helidon supports two programming models: + +* Helidon MP: [MicroProfile 6.0](https://github.com/eclipse/microprofile/releases/tag/6.0) +* Helidon SE: a small, functional style API + +In either case your application is a Java SE program running on the +new Helidon Níma WebServer that has been written from the ground up to +use Java 21 Virtual Threads. With Helidon 4 you get the high throughput of a reactive server with the simplicity of thread-per-request style programming. + +The Helidon SE API in Helidon 4 has changed significantly from Helidon 3. The use of virtual threads has enabled these APIs to change from asynchronous to blocking. This results in much simpler code that is easier to write, maintain, debug and understand. Earlier Helidon SE code will require modification to run on these new APIs. For more information see the [Helidon SE Upgrade Guide](https://helidon.io/docs/v4/#/se/guides/upgrade_4x). + +Helidon 4 supports MicroProfile 6. This means your existing Helidon MP 3.x applications will run on Helidon 4 with only minor modifications. And since Helidon’s MicroProfile server is based on the new Níma WebServer you get all the benefits of running on virtual threads. For more information see the [Helidon MP Upgrade Guide](https://helidon.io/docs/v4/#/mp/guides/upgrade_4x). + +New to Helidon? Then jump in and [get started](https://helidon.io/docs/v4/#/about/prerequisites). + +Java 21 is required to use Helidon 4. + + +## License + +Helidon is available under Apache License 2.0. + +## Documentation + +Latest documentation and javadocs are available at . + +Helidon White Paper is available [here](https://www.oracle.com/a/ocom/docs/technical-brief--helidon-report.pdf). + +## Get Started + +See Getting Started at . + +## Downloads / Accessing Binaries + +There are no Helidon downloads. Just use our Maven releases (GroupID `io.helidon`). +See Getting Started at . + +## Helidon CLI + +macOS: +```bash +curl -O https://helidon.io/cli/latest/darwin/helidon +chmod +x ./helidon +sudo mv ./helidon /usr/local/bin/ +``` + +Linux: +```bash +curl -O https://helidon.io/cli/latest/linux/helidon +chmod +x ./helidon +sudo mv ./helidon /usr/local/bin/ +``` + +Windows: +```bat +PowerShell -Command Invoke-WebRequest -Uri "https://helidon.io/cli/latest/windows/helidon.exe" -OutFile "C:\Windows\system32\helidon.exe" +``` + +See this [document](HELIDON-CLI.md) for more info. + +## Build + +You need JDK 21 to build Helidon 4. + +You also need Maven. We recommend 3.8.0 or newer. + +**Full build** +```bash +$ mvn install +``` + +**Checkstyle** +```bash +# cd to the component you want to check +$ mvn validate -Pcheckstyle +``` + +**Copyright** + +```bash +# cd to the component you want to check +$ mvn validate -Pcopyright +``` + +**Spotbugs** + +```bash +# cd to the component you want to check +$ mvn verify -Pspotbugs +``` + +**Documentation** + +```bash +# At the root of the project +$ mvn site +``` + +**Build Scripts** + +Build scripts are located in `etc/scripts`. These are primarily used by our pipeline, +but a couple are handy to use on your desktop to verify your changes. + +* `copyright.sh`: Run a full copyright check +* `checkstyle.sh`: Run a full style check + +## Get Help + +* See the [Helidon FAQ](https://github.com/oracle/helidon/wiki/FAQ) +* Ask questions on Stack Overflow using the [helidon tag](https://stackoverflow.com/tags/helidon) +* Join us on Slack: [#helidon-users](http://slack.helidon.io) + +## Get Involved + +* Learn how to [contribute](CONTRIBUTING.md) +* See [issues](https://github.com/oracle/helidon/issues) for issues you can help with + +## Stay Informed + +* Twitter: [@helidon_project](https://twitter.com/helidon_project) +* Blog: [Helidon on Medium](https://medium.com/helidon)