Skip to content

Commit 850ff8e

Browse files
committed
Minor documentation fixes
Fixing names (Spring Boot, Vert.x) Add missing parapraph about Spring Boot Clustering examples
1 parent 2441c4d commit 850ff8e

File tree

3 files changed

+18
-17
lines changed

3 files changed

+18
-17
lines changed

spring-examples/README.adoc

+10-8
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1-
Spring Examples
1+
= Spring Examples
22

3-
This projects presents how vert.x and Spring can interact.
3+
These projects present how Vert.x and Spring can interact.
44

5-
=== Spring Boot Example
5+
== Spring Boot Example
66

7-
The link:springboot-example/README.adoc[Vert.x SpringBoot Example] shows how you can embed Vert.x in a SpringBoot
8-
application.
7+
The link:springboot-example/README.adoc[Vert.x Spring Boot Example] shows how you can embed Vert.x in a Spring Boot application.
98

10-
=== Spring example
9+
== Spring Example
1110

12-
The link:spring-example/README.adoc[Vert.x Spring Example] shows how you can access Spring beans as services in a vert.x
13-
application
11+
The link:spring-example/README.adoc[Vert.x Spring Example] shows how you can access Spring beans as services in a Vert.x application
12+
13+
== Spring Boot Clustering
14+
15+
The link:spring-boot-clustering/README.adoc[Spring Boot Clustering Examples] show how you can setup a clustered Vert.x embedded in Spring Boot.

spring-examples/springboot-example/README.adoc

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
= Vert.x SpringBoot example
1+
= Vert.x Spring Boot example
22

3-
This example shows how you can embed Vert.x in SpringBoot.
3+
This example shows how you can embed Vert.x in Spring Boot.
44

5-
So now you can add all the goodness of Vert.x to your SpringBoot applications
5+
So now you can add all the goodness of Vert.x to your Spring Boot applications
66

77
It's basically the same example as the Vert.x-Web "staticsite" example in this repository but instead of using
8-
Vert.x to boot it it uses SpringBoot to start it.
8+
Vert.x to boot it it uses Spring Boot to start it.
99

10-
The end result is more or less the same as using Vert.x without SpringBoot:
10+
The end result is more or less the same as using Vert.x without Spring Boot:
1111

1212
* There is a similar amount of code and boilerplate (both very little)
13-
* Both Vert.x and SpringBoot create executable fat jars (The Vert.x jar is considerable smaller than the SpringBoot one though)
14-
* The SpringBoot version seems a bit slower to startup than the Vert.x version
13+
* Both Vert.x and Spring Boot create executable fat jars (The Vert.x jar is considerable smaller than the Spring Boot one though)
14+
* The Spring Boot version seems a bit slower to startup than the Vert.x version
1515
1616
To build the "fat jar"
1717

spring-examples/springboot-example/src/main/java/io/vertx/example/Application.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import io.vertx.core.Vertx;
55
import org.springframework.beans.factory.annotation.Autowired;
66
import org.springframework.boot.SpringApplication;
7-
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
87
import org.springframework.boot.autoconfigure.SpringBootApplication;
98

109
import javax.annotation.PostConstruct;
@@ -18,7 +17,7 @@ public class Application {
1817
public static void main(String[] args) {
1918

2019
// This is basically the same example as the web-examples static site example but it's booted using
21-
// SpringBoot, not Vert.x
20+
// Spring Boot, not Vert.x
2221
SpringApplication.run(Application.class, args);
2322
}
2423

0 commit comments

Comments
 (0)