Javelle MVC

Backend endpoint browser demo

Server-rendered MVC page plus a browser fetch to the same Java backend. Initial render says: {{ initialGreeting() }}

Endpoint check pending

Call backend

Change the name and call the MVC backend endpoint from the browser.

{{ endpointPath() }}
Name Call endpoint
{}

Request flow

The script creates a CLI app, adds an MVC page, registers a service, and serves an API controller.

ViewMvcDashboardPage
ServiceGreetingService
ControllerStatusController
Endpoint/api/status