Skip to content

Commit

Permalink
edits per peer review
Browse files Browse the repository at this point in the history
  • Loading branch information
dmuelle committed Sep 13, 2023
1 parent 04874af commit d0ec7f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/ROOT/pages/deploy-spring-boot.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ For more information about the Open Liberty features that are required to suppor
3. Copy the `hellospringboot.jar` application into the `/usr/servers/helloserver/apps` directory that the `server create` command created.
4. Configure the application by updating the `server.xml` file.
+
- Specify the application location with a config:springBootApplication[] element and configure the HTTP port for the default host to `9090` by replacing the `httpPort="9080"` attribute value with an `httpPort="9090"` attribute value.
- Specify the application location by using the config:springBootApplication[] element. Configure the HTTP port for the default host to `9090` by replacing the `httpPort="9080"` attribute value with an `httpPort="9090"` attribute value.
+
[source,xml]
----
Expand Down Expand Up @@ -177,7 +177,7 @@ The Spring Boot application stops and restarts with the same context path.
[#thin]
== Configuring thin Spring Boot applications

You can thin a Spring Boot application to create more efficient container layers and use resources more efficiently.
You can thin a Spring Boot application to create more efficient container layers and optimize resource usage.

A Spring Boot application JAR or WAR file is a self-contained artifact. It packages all of the application dependencies inside the final artifact alongside the application content, including an embedded server implementation, such as Tomcat, Jetty, or Undertow. The result is a fat artifact that is easy to run on any server that has a JVM. However, this result is a large artifact, even for the smallest `hello world` Spring Boot web application.

Expand All @@ -191,7 +191,7 @@ The examples in this section use a `hellospringboot.jar` file, but the procedure

1. Configure the thin Spring Boot application JAR or WAR file and the library dependencies.
+
a. Deploy the `hellospringboot.jar` or application as explained in the <<#deploy,Deploying a Spring Boot application to Open Liberty from the command line>> section.
a. Deploy the `hellospringboot.jar` or `hellospringboot.war` application as explained in the <<#deploy,Deploying a Spring Boot application to Open Liberty from the command line>> section.
b. Deploy the library dependencies to the `wlp/usr/shared/resources/lib.index.cache/` directory.
2. Run the `springBootUtility thin` command with the necessary options to create the `hellospringboot-thin.jar` thin Spring Boot application in the `dropins/spring` directory of the `helloserver` server configuration and to cache the dependencies to the `usr/servers/helloserver/apps/` directory.
Expand Down

0 comments on commit d0ec7f5

Please sign in to comment.