© Peter Späth 2019
Peter SpäthBeginning Jakarta EEhttps://doi.org/10.1007/978-1-4842-5079-2_5

5. Building Single-Page Web Applications with REST and JSON

Peter Späth
Leipzig, Sachsen, Germany
In Chapter 4 we talked about creating multi-page web applications via Java server faces (JSF). The central paradigm of JSF is the communication between the user (browser) and the server via forms, although using the <f:ajax> tag makes a more fine-grained communication possible because only the form part needs to be transmitted to the server.
A totally different paradigm operates under the name single-page application or SPA. Here, only one page gets loaded for the whole application, the user interaction or front-end logic gets handled by JavaScript, and ...

Get Beginning Jakarta EE: Enterprise Edition for Java: From Novice to Professional now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.