boxlang-runtime-spring-boot

Auto-configure BoxLang runtime and view resolver for Spring Boot MVC apps.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/ortus-boxlang/skills --skill boxlang-runtime-spring-boot-ortus-boxlang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: boxlang-runtime-spring-boot
Source: https://github.com/ortus-boxlang/skills/tree/main/boxlang-developer/runtime-spring-boot
Command: npx skills add https://github.com/ortus-boxlang/skills --skill boxlang-runtime-spring-boot-ortus-boxlang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automatically wires BoxLang into Spring Boot, eliminating boilerplate configuration and enabling rendering of BoxLang views from Spring controllers.

Core Features & Use Cases

  • Auto-configures BoxLang via BoxLangAutoConfiguration and wires a BoxLang view resolver.
  • Supports returning logical view names from Spring MVC controllers, resolving to .bxm templates.
  • Provides access to Spring Model attributes inside BoxLang templates.
  • Offers zero-configuration startup and easy integration with Spring Boot 3.x and JDK 21+.
  • Coexists with other view technologies (e.g., Thymeleaf) with configurable resolver order.

Quick Start

Add the BoxLang Spring Boot starter dependency to your project and return logical view names from controllers.

Frequently Asked Questions about boxlang-runtime-spring-boot

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I render BoxLang templates in a Spring Boot application?

To render BoxLang templates in a Spring Boot application, you add the BoxLang starter dependency to your project. This auto-configures the runtime and view resolver, allowing Spring MVC controllers to return logical view names that resolve to .bxm templates.

Can I use BoxLang views alongside Thymeleaf in the same Spring Boot project?

Yes, BoxLang views can coexist with Thymeleaf in the same Spring Boot project. The view resolver order is configurable, allowing Spring MVC to route logical view names to either BoxLang .bxm templates or Thymeleaf templates as needed.

Do I need to manually configure the BoxLang runtime to use it with Spring Boot 3.x?

No, manual configuration is not required to use BoxLang with Spring Boot 3.x. The starter dependency provides zero-configuration startup by auto-configuring the BoxLang runtime, view resolver, and model attribute access automatically.

How does a Spring MVC controller pass data to a BoxLang view?

A Spring MVC controller passes data to a BoxLang view by adding attributes to the Spring Model. The BoxLang integration automatically exposes these model attributes inside the .bxm template, making them directly accessible during view rendering.

What Java version is required to run BoxLang templates within a Spring Boot app?

Running BoxLang templates within a Spring Boot app requires JDK 21 or higher. The integration is designed for easy use with Spring Boot 3.x, leveraging the latest Java features and standard Gradle or Maven project setups.