From 6fa958c4adb88263a76c22b5a6854ac1b28dad21 Mon Sep 17 00:00:00 2001 From: Eric Handtke Date: Tue, 1 Sep 2026 13:31:33 +0200 Subject: [PATCH] enabled craftforj and hotreload --- 1-creating-a-basic-app/README.md | 2 +- 1-creating-a-basic-app/pom.xml | 37 ++++--------------- .../src/main/resources/application.properties | 4 +- .../src/main/resources/banner.txt | 2 +- 2-working-with-data/README.md | 2 +- 2-working-with-data/pom.xml | 37 ++++--------------- .../src/main/resources/application.properties | 2 +- .../src/main/resources/banner.txt | 2 +- 3-routing-and-composites/README.md | 2 +- 3-routing-and-composites/pom.xml | 36 ++++-------------- .../src/main/resources/application.properties | 2 +- .../src/main/resources/banner.txt | 2 +- 4-observers-and-route-parameters/README.md | 2 +- 4-observers-and-route-parameters/pom.xml | 36 ++++-------------- .../src/main/resources/application.properties | 2 +- .../src/main/resources/banner.txt | 2 +- 5-validating-and-binding-data/README.md | 2 +- 5-validating-and-binding-data/pom.xml | 36 ++++-------------- .../src/main/resources/application.properties | 2 +- .../src/main/resources/banner.txt | 2 +- 6-integrating-an-app-layout/README.md | 2 +- 6-integrating-an-app-layout/pom.xml | 36 ++++-------------- .../src/main/resources/application.properties | 2 +- .../src/main/resources/banner.txt | 2 +- README.md | 2 +- 25 files changed, 62 insertions(+), 196 deletions(-) diff --git a/1-creating-a-basic-app/README.md b/1-creating-a-basic-app/README.md index 1ff1ef8..6b97b67 100644 --- a/1-creating-a-basic-app/README.md +++ b/1-creating-a-basic-app/README.md @@ -12,7 +12,7 @@ For a complete step-by-step guide to building this app, see the **[webforJ Tutor To run the app, ensure the following tools are installed: - Java 21 or higher -- BBj 26.01 when running with local BBjServices +- BBj 26.02 when running with local BBjServices - Maven - A Java IDE (e.g., IntelliJ IDEA, Eclipse, VSCode) - Web browser diff --git a/1-creating-a-basic-app/pom.xml b/1-creating-a-basic-app/pom.xml index ea8ff7e..8c2a243 100644 --- a/1-creating-a-basic-app/pom.xml +++ b/1-creating-a-basic-app/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 4.0.7 + 4.0.8 com.webforj.tutorial @@ -14,7 +14,7 @@ CustomerApplication 21 - 26.01 + 26.02 21 21 UTF-8 @@ -39,16 +39,6 @@ org.springframework.boot spring-boot-starter-validation - - com.webforj - webforj-spring-devtools - true - - - org.springframework.boot - spring-boot-devtools - true - org.springframework.boot spring-boot-starter-test @@ -75,6 +65,11 @@ webforj-maven-plugin ${webforj.version} true + + + + + org.springframework.boot @@ -85,7 +80,6 @@ maven-failsafe-plugin - 3.5.6 @@ -104,23 +98,6 @@ prod - - - - org.springframework.boot - spring-boot-maven-plugin - - true - - - com.webforj - webforj-spring-devtools - - - - - - dev diff --git a/1-creating-a-basic-app/src/main/resources/application.properties b/1-creating-a-basic-app/src/main/resources/application.properties index 6c6b324..9ed58e8 100644 --- a/1-creating-a-basic-app/src/main/resources/application.properties +++ b/1-creating-a-basic-app/src/main/resources/application.properties @@ -6,11 +6,11 @@ server.shutdown=immediate server.port=8080 # webforJ DevTools configuration -spring.devtools.livereload.enabled=false webforj.devtools.livereload.enabled=true webforj.devtools.livereload.static-resources-enabled=true webforj.devtools.browser.open=true webforj.debug=true +webforj.devtools.craftforj.enabled=true webforj.entry = com.webforj.tutorial.Application # H2 Database configuration @@ -25,4 +25,4 @@ webforj.entry = com.webforj.tutorial.Application # H2 Console (optional - for development) # spring.h2.console.enabled=true -# spring.h2.console.path=/h2-console \ No newline at end of file +# spring.h2.console.path=/h2-console diff --git a/1-creating-a-basic-app/src/main/resources/banner.txt b/1-creating-a-basic-app/src/main/resources/banner.txt index db3c9dd..2e28361 100644 --- a/1-creating-a-basic-app/src/main/resources/banner.txt +++ b/1-creating-a-basic-app/src/main/resources/banner.txt @@ -4,4 +4,4 @@ \ V V / __/ | |_) | _| (_) | | _| | \_/\_/ \___| |_.__/|_| \___/|_| |___| - :: webforJ (26.01) :: + :: webforJ (26.02) :: diff --git a/2-working-with-data/README.md b/2-working-with-data/README.md index 1ff1ef8..6b97b67 100644 --- a/2-working-with-data/README.md +++ b/2-working-with-data/README.md @@ -12,7 +12,7 @@ For a complete step-by-step guide to building this app, see the **[webforJ Tutor To run the app, ensure the following tools are installed: - Java 21 or higher -- BBj 26.01 when running with local BBjServices +- BBj 26.02 when running with local BBjServices - Maven - A Java IDE (e.g., IntelliJ IDEA, Eclipse, VSCode) - Web browser diff --git a/2-working-with-data/pom.xml b/2-working-with-data/pom.xml index 39bc4e2..cb01674 100644 --- a/2-working-with-data/pom.xml +++ b/2-working-with-data/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 4.0.7 + 4.0.8 com.webforj.tutorial @@ -14,7 +14,7 @@ CustomerApplication 21 - 26.01 + 26.02 21 21 UTF-8 @@ -43,16 +43,6 @@ org.springframework.boot spring-boot-starter-validation - - com.webforj - webforj-spring-devtools - true - - - org.springframework.boot - spring-boot-devtools - true - org.springframework.boot spring-boot-starter-test @@ -83,6 +73,11 @@ webforj-maven-plugin ${webforj.version} true + + + + + org.springframework.boot @@ -93,7 +88,6 @@ maven-failsafe-plugin - 3.5.6 @@ -112,23 +106,6 @@ prod - - - - org.springframework.boot - spring-boot-maven-plugin - - true - - - com.webforj - webforj-spring-devtools - - - - - - dev diff --git a/2-working-with-data/src/main/resources/application.properties b/2-working-with-data/src/main/resources/application.properties index e582faf..872c0a9 100644 --- a/2-working-with-data/src/main/resources/application.properties +++ b/2-working-with-data/src/main/resources/application.properties @@ -6,11 +6,11 @@ server.shutdown=immediate server.port=8080 # webforJ DevTools configuration -spring.devtools.livereload.enabled=false webforj.devtools.livereload.enabled=true webforj.devtools.livereload.static-resources-enabled=true webforj.devtools.browser.open=true webforj.debug=true +webforj.devtools.craftforj.enabled=true webforj.entry = com.webforj.tutorial.Application # H2 Database configuration diff --git a/2-working-with-data/src/main/resources/banner.txt b/2-working-with-data/src/main/resources/banner.txt index db3c9dd..2e28361 100644 --- a/2-working-with-data/src/main/resources/banner.txt +++ b/2-working-with-data/src/main/resources/banner.txt @@ -4,4 +4,4 @@ \ V V / __/ | |_) | _| (_) | | _| | \_/\_/ \___| |_.__/|_| \___/|_| |___| - :: webforJ (26.01) :: + :: webforJ (26.02) :: diff --git a/3-routing-and-composites/README.md b/3-routing-and-composites/README.md index 1ff1ef8..6b97b67 100644 --- a/3-routing-and-composites/README.md +++ b/3-routing-and-composites/README.md @@ -12,7 +12,7 @@ For a complete step-by-step guide to building this app, see the **[webforJ Tutor To run the app, ensure the following tools are installed: - Java 21 or higher -- BBj 26.01 when running with local BBjServices +- BBj 26.02 when running with local BBjServices - Maven - A Java IDE (e.g., IntelliJ IDEA, Eclipse, VSCode) - Web browser diff --git a/3-routing-and-composites/pom.xml b/3-routing-and-composites/pom.xml index f9b5fac..cb01674 100644 --- a/3-routing-and-composites/pom.xml +++ b/3-routing-and-composites/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 4.0.7 + 4.0.8 com.webforj.tutorial @@ -14,7 +14,7 @@ CustomerApplication 21 - 26.01 + 26.02 21 21 UTF-8 @@ -43,16 +43,6 @@ org.springframework.boot spring-boot-starter-validation - - com.webforj - webforj-spring-devtools - true - - - org.springframework.boot - spring-boot-devtools - true - org.springframework.boot spring-boot-starter-test @@ -83,6 +73,11 @@ webforj-maven-plugin ${webforj.version} true + + + + + org.springframework.boot @@ -111,23 +106,6 @@ prod - - - - org.springframework.boot - spring-boot-maven-plugin - - true - - - com.webforj - webforj-spring-devtools - - - - - - dev diff --git a/3-routing-and-composites/src/main/resources/application.properties b/3-routing-and-composites/src/main/resources/application.properties index 5f29dbf..18be8f3 100644 --- a/3-routing-and-composites/src/main/resources/application.properties +++ b/3-routing-and-composites/src/main/resources/application.properties @@ -6,11 +6,11 @@ server.shutdown=immediate server.port=8080 # webforJ DevTools configuration -spring.devtools.livereload.enabled=false webforj.devtools.livereload.enabled=true webforj.devtools.livereload.static-resources-enabled=true webforj.devtools.browser.open=true webforj.debug=true +webforj.devtools.craftforj.enabled=true webforj.entry = com.webforj.tutorial.Application # H2 Database configuration diff --git a/3-routing-and-composites/src/main/resources/banner.txt b/3-routing-and-composites/src/main/resources/banner.txt index db3c9dd..2e28361 100644 --- a/3-routing-and-composites/src/main/resources/banner.txt +++ b/3-routing-and-composites/src/main/resources/banner.txt @@ -4,4 +4,4 @@ \ V V / __/ | |_) | _| (_) | | _| | \_/\_/ \___| |_.__/|_| \___/|_| |___| - :: webforJ (26.01) :: + :: webforJ (26.02) :: diff --git a/4-observers-and-route-parameters/README.md b/4-observers-and-route-parameters/README.md index 1ff1ef8..6b97b67 100644 --- a/4-observers-and-route-parameters/README.md +++ b/4-observers-and-route-parameters/README.md @@ -12,7 +12,7 @@ For a complete step-by-step guide to building this app, see the **[webforJ Tutor To run the app, ensure the following tools are installed: - Java 21 or higher -- BBj 26.01 when running with local BBjServices +- BBj 26.02 when running with local BBjServices - Maven - A Java IDE (e.g., IntelliJ IDEA, Eclipse, VSCode) - Web browser diff --git a/4-observers-and-route-parameters/pom.xml b/4-observers-and-route-parameters/pom.xml index f9b5fac..cb01674 100644 --- a/4-observers-and-route-parameters/pom.xml +++ b/4-observers-and-route-parameters/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 4.0.7 + 4.0.8 com.webforj.tutorial @@ -14,7 +14,7 @@ CustomerApplication 21 - 26.01 + 26.02 21 21 UTF-8 @@ -43,16 +43,6 @@ org.springframework.boot spring-boot-starter-validation - - com.webforj - webforj-spring-devtools - true - - - org.springframework.boot - spring-boot-devtools - true - org.springframework.boot spring-boot-starter-test @@ -83,6 +73,11 @@ webforj-maven-plugin ${webforj.version} true + + + + + org.springframework.boot @@ -111,23 +106,6 @@ prod - - - - org.springframework.boot - spring-boot-maven-plugin - - true - - - com.webforj - webforj-spring-devtools - - - - - - dev diff --git a/4-observers-and-route-parameters/src/main/resources/application.properties b/4-observers-and-route-parameters/src/main/resources/application.properties index 5f29dbf..18be8f3 100644 --- a/4-observers-and-route-parameters/src/main/resources/application.properties +++ b/4-observers-and-route-parameters/src/main/resources/application.properties @@ -6,11 +6,11 @@ server.shutdown=immediate server.port=8080 # webforJ DevTools configuration -spring.devtools.livereload.enabled=false webforj.devtools.livereload.enabled=true webforj.devtools.livereload.static-resources-enabled=true webforj.devtools.browser.open=true webforj.debug=true +webforj.devtools.craftforj.enabled=true webforj.entry = com.webforj.tutorial.Application # H2 Database configuration diff --git a/4-observers-and-route-parameters/src/main/resources/banner.txt b/4-observers-and-route-parameters/src/main/resources/banner.txt index db3c9dd..2e28361 100644 --- a/4-observers-and-route-parameters/src/main/resources/banner.txt +++ b/4-observers-and-route-parameters/src/main/resources/banner.txt @@ -4,4 +4,4 @@ \ V V / __/ | |_) | _| (_) | | _| | \_/\_/ \___| |_.__/|_| \___/|_| |___| - :: webforJ (26.01) :: + :: webforJ (26.02) :: diff --git a/5-validating-and-binding-data/README.md b/5-validating-and-binding-data/README.md index 1ff1ef8..6b97b67 100644 --- a/5-validating-and-binding-data/README.md +++ b/5-validating-and-binding-data/README.md @@ -12,7 +12,7 @@ For a complete step-by-step guide to building this app, see the **[webforJ Tutor To run the app, ensure the following tools are installed: - Java 21 or higher -- BBj 26.01 when running with local BBjServices +- BBj 26.02 when running with local BBjServices - Maven - A Java IDE (e.g., IntelliJ IDEA, Eclipse, VSCode) - Web browser diff --git a/5-validating-and-binding-data/pom.xml b/5-validating-and-binding-data/pom.xml index f9b5fac..cb01674 100644 --- a/5-validating-and-binding-data/pom.xml +++ b/5-validating-and-binding-data/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 4.0.7 + 4.0.8 com.webforj.tutorial @@ -14,7 +14,7 @@ CustomerApplication 21 - 26.01 + 26.02 21 21 UTF-8 @@ -43,16 +43,6 @@ org.springframework.boot spring-boot-starter-validation - - com.webforj - webforj-spring-devtools - true - - - org.springframework.boot - spring-boot-devtools - true - org.springframework.boot spring-boot-starter-test @@ -83,6 +73,11 @@ webforj-maven-plugin ${webforj.version} true + + + + + org.springframework.boot @@ -111,23 +106,6 @@ prod - - - - org.springframework.boot - spring-boot-maven-plugin - - true - - - com.webforj - webforj-spring-devtools - - - - - - dev diff --git a/5-validating-and-binding-data/src/main/resources/application.properties b/5-validating-and-binding-data/src/main/resources/application.properties index 5f29dbf..18be8f3 100644 --- a/5-validating-and-binding-data/src/main/resources/application.properties +++ b/5-validating-and-binding-data/src/main/resources/application.properties @@ -6,11 +6,11 @@ server.shutdown=immediate server.port=8080 # webforJ DevTools configuration -spring.devtools.livereload.enabled=false webforj.devtools.livereload.enabled=true webforj.devtools.livereload.static-resources-enabled=true webforj.devtools.browser.open=true webforj.debug=true +webforj.devtools.craftforj.enabled=true webforj.entry = com.webforj.tutorial.Application # H2 Database configuration diff --git a/5-validating-and-binding-data/src/main/resources/banner.txt b/5-validating-and-binding-data/src/main/resources/banner.txt index db3c9dd..2e28361 100644 --- a/5-validating-and-binding-data/src/main/resources/banner.txt +++ b/5-validating-and-binding-data/src/main/resources/banner.txt @@ -4,4 +4,4 @@ \ V V / __/ | |_) | _| (_) | | _| | \_/\_/ \___| |_.__/|_| \___/|_| |___| - :: webforJ (26.01) :: + :: webforJ (26.02) :: diff --git a/6-integrating-an-app-layout/README.md b/6-integrating-an-app-layout/README.md index 1ff1ef8..6b97b67 100644 --- a/6-integrating-an-app-layout/README.md +++ b/6-integrating-an-app-layout/README.md @@ -12,7 +12,7 @@ For a complete step-by-step guide to building this app, see the **[webforJ Tutor To run the app, ensure the following tools are installed: - Java 21 or higher -- BBj 26.01 when running with local BBjServices +- BBj 26.02 when running with local BBjServices - Maven - A Java IDE (e.g., IntelliJ IDEA, Eclipse, VSCode) - Web browser diff --git a/6-integrating-an-app-layout/pom.xml b/6-integrating-an-app-layout/pom.xml index f9b5fac..cb01674 100644 --- a/6-integrating-an-app-layout/pom.xml +++ b/6-integrating-an-app-layout/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 4.0.7 + 4.0.8 com.webforj.tutorial @@ -14,7 +14,7 @@ CustomerApplication 21 - 26.01 + 26.02 21 21 UTF-8 @@ -43,16 +43,6 @@ org.springframework.boot spring-boot-starter-validation - - com.webforj - webforj-spring-devtools - true - - - org.springframework.boot - spring-boot-devtools - true - org.springframework.boot spring-boot-starter-test @@ -83,6 +73,11 @@ webforj-maven-plugin ${webforj.version} true + + + + + org.springframework.boot @@ -111,23 +106,6 @@ prod - - - - org.springframework.boot - spring-boot-maven-plugin - - true - - - com.webforj - webforj-spring-devtools - - - - - - dev diff --git a/6-integrating-an-app-layout/src/main/resources/application.properties b/6-integrating-an-app-layout/src/main/resources/application.properties index 5f29dbf..18be8f3 100644 --- a/6-integrating-an-app-layout/src/main/resources/application.properties +++ b/6-integrating-an-app-layout/src/main/resources/application.properties @@ -6,11 +6,11 @@ server.shutdown=immediate server.port=8080 # webforJ DevTools configuration -spring.devtools.livereload.enabled=false webforj.devtools.livereload.enabled=true webforj.devtools.livereload.static-resources-enabled=true webforj.devtools.browser.open=true webforj.debug=true +webforj.devtools.craftforj.enabled=true webforj.entry = com.webforj.tutorial.Application # H2 Database configuration diff --git a/6-integrating-an-app-layout/src/main/resources/banner.txt b/6-integrating-an-app-layout/src/main/resources/banner.txt index db3c9dd..2e28361 100644 --- a/6-integrating-an-app-layout/src/main/resources/banner.txt +++ b/6-integrating-an-app-layout/src/main/resources/banner.txt @@ -4,4 +4,4 @@ \ V V / __/ | |_) | _| (_) | | _| | \_/\_/ \___| |_.__/|_| \___/|_| |___| - :: webforJ (26.01) :: + :: webforJ (26.02) :: diff --git a/README.md b/README.md index 1ff1ef8..6b97b67 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ For a complete step-by-step guide to building this app, see the **[webforJ Tutor To run the app, ensure the following tools are installed: - Java 21 or higher -- BBj 26.01 when running with local BBjServices +- BBj 26.02 when running with local BBjServices - Maven - A Java IDE (e.g., IntelliJ IDEA, Eclipse, VSCode) - Web browser