You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/create-student-service.adoc
+23-8
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
== Create Student Service
2
2
3
-
Create a simple Quarkus project as a starting point - the "student" service. A default RESTful endpoint is generated. While this workshop utilizes the mvn command line tooling, projects can also be generated at http://code.quarkus.io[code.quarkus.io] using a Web UI.
3
+
Create a simple Quarkus project as a starting point - the "student" service. A default RESTful endpoint is generated. While this tutorial utilizes the mvn command line tooling, projects can also be generated at http://code.quarkus.io[code.quarkus.io] using a Web UI.
4
4
5
5
. Go to the project's base directory and create project using maven
.. Open StudentResource.java and peruse the JAX-RS source code
@@ -56,10 +62,13 @@ public class StudentResource {
56
62
}
57
63
}
58
64
----
65
+
66
+
NOTE: The generated project does not include a JAX-RS Application class. Quarkus will provide a default JAX-RS Application class if one is not provided by the developer. In addition, Quarkus RESTful resources are `@ApplicationScoped` by default when a scope is not specified. These are non-portable developer convenience features. These points are covered in the https://quarkus.io/guides/getting-started#the-jax-rs-resources[Quarkus Getting Started Guide].
59
67
--
60
68
61
69
+
62
-
NOTE: The generated project does not include a JAX-RS Application class. Quarkus will provide a default JAX-RS Application class if one is not provided by the developer. In addition, a single instance of a RESTful resource is created by default. These are non-portable developer convenience features. These points are covered in the https://quarkus.io/guides/getting-started#the-jax-rs-resources[Quarkus Getting Started Guide].
Copy file name to clipboardexpand all lines: docs/introduction.adoc
+6-4
Original file line number
Diff line number
Diff line change
@@ -1,23 +1,25 @@
1
1
== Introduction
2
2
3
-
This lab builds two Java services from scratch that incrementally add Eclipse MicroProfile APIs. The first service is `frontend`, which invokes a `student`backend service that returns a list of students. This domain model is simple so the focus is spent on the MicroProfile APIs themselves.
3
+
This tutorial builds two Java services from scratch that incrementally add Eclipse MicroProfile APIs. The first is a `student` service that returns a list of students, which is invoke by a `frontend` service. This domain model is simple so the focus is spent on the MicroProfile APIs themselves.
4
4
5
-
The documented steps in this lab follow a pattern:
5
+
The documented steps in this tutorial follow a pattern:
6
6
7
7
. Write code
8
8
. Run a command to test code (curl)
9
9
. Check output
10
10
11
11
This pattern flows quickly due to Quarkus' Live Coding feature, and makes checking code changes near-instantaneous so each change can be immediately evaluated.
12
12
13
-
NOTE: This tutorial will require three terminal windows. Each command block will display the terminal where the command is to be run (_Terminal 1_, _Terminal 2_, _Terminal 3_). As the tutorial progresses, it helps to organize the terminals on your screen so they can all be viewed at the same time. In addition, each code block will show the name of the file to be edited (ex: "StudentResource.java")
13
+
NOTE: This tutorial will require three terminal windows. Each command block will display the terminal where the command is to be run - _Terminal 1_, _Terminal 2_, or _Terminal 3_. As the tutorial progresses, it helps to organize the terminals on your screen so they can all be viewed at the same time. In addition, each code block will show the name of the file to be edited (ex: "StudentResource.java")
0 commit comments