Skip to content

Commit

Permalink
add sb3 to instantOn features and document crac-1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
dmuelle committed May 23, 2024
1 parent 458b638 commit 9cb7928
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/ROOT/pages/instanton.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -408,5 +408,6 @@ In addition to the features that are enabled in the MicroProfile and Jakarta con
- feature:localConnector-1.0[]
- feature:passwordUtilities-1.0[]
- feature:sessionCache-1.0[]
- feature:springBoot-3.0[]

For more information about limitations, see xref:instanton-limitations.adoc[InstantOn limitations and known issues].
3 changes: 3 additions & 0 deletions modules/reference/pages/feature/crac-1.4/description.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
These APIs integrate with the Liberty xref:ROOT:instanton.adoc[InstantOn support].

The link:https://javadoc.io/doc/org.crac/crac/1.4.0/index.html[org.crac] package provides APIs for receiving checkpoint/restore notifications. These notifications enable applications to perform actions before they checkpoint an application process and after they restore the application process. For example, this package allows Spring-based applications to support checkpoint and restore. The use of `org.crac` is not limited to Spring-based applications. Any application that runs on Liberty can choose to receive checkpoint/restore notifications by enabling the `crac-1.4` feature.
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@

The Spring Framework and Spring Boot support of Coordinated Restore at Checkpoint integrates with Liberty InstantOn when you enable the using the feature:crac-1.4[Coordinated Restore at Checkpoint 1.4] feature. The Spring support for checkpointing and restoring an application manages the lifecycle of resources such as socket, files, and thread pools that are used by the application. For more information, see the Spring Boot documentation on link:https://docs.spring.io/spring-boot/docs/current/reference/html/deployment.html#deployment.efficient.checkpoint-restore[Checkpoint and Restore] and the Spring Framework link:https://docs.spring.io/spring-framework/reference/integration/checkpoint-restore.html[Checkpoint and Restore support documentation].

link:https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#using.build-systems.starters[Spring Boot Starters] are a set of convenient dependency descriptors provided by the Spring Boot that you can include in your application. When you use these starters with a Spring Boot application that is deployed on Open Liberty, you might need to enable features beyond the Spring Boot Support feature. The following table lists the Open Liberty features that are required to support certain Spring Boot 3.0 starters.

.Open Liberty features that support Spring Boot 3.0 starters
Expand Down

0 comments on commit 9cb7928

Please sign in to comment.