This project demonstrates how to build a customer management app using webforJ, the full-stack Java framework, with Spring Boot. The app showcases modern web UI development while leveraging Spring’s backend ecosystem, including dependency injection, service layers, and data management.
For a complete step-by-step guide to building this app, see the webforJ Tutorial.
To run the app, ensure the following tools are installed:
- Java 21 or higher
- BBj 26.02 when running with local BBjServices
- Maven
- A Java IDE (e.g., IntelliJ IDEA, Eclipse, VSCode)
- Web browser
- Git (recommended)
webforj-tutorial
│ .gitignore
│ LICENSE
│ README.md
│ tree.txt
│
├───1-creating-a-basic-app
├───2-working-with-data
├───3-routing-and-composites
├───4-observers-and-route-parameters
├───5-validating-and-binding-data
└───6-integrating-an-app-layout - Navigate to the desired step directory (e.g.,
1-creating-a-basic-app):cd 1-creating-a-basic-app - Start the Spring Boot application:
mvn
- Open your browser and go to http://localhost:8080.
- Spring Boot integration: Autowire Spring beans directly into webforJ views and components.
- Data binding and validation: Use standard Java validation annotations and webforJ data binding features.
- Spring Data support: Connect UI components to your data layer using Spring repositories.
- Hot reload: Automatic browser refresh with Spring DevTools.
- Familiar development: Continue using Spring annotations like
@Service,@Repository, and@Component. - Flexible configuration: Combine
application.propertieswithwebforj.conffor complete control.
This project is licensed under the MIT License. See the LICENSE file for details.