SPRING CONCEPTS
JavaBean property conventions
Spring Concepts / JavaBean property conventions
JavaBean-style getters expose named object properties to tools and view expressions.
Understand the idea
A title property is exposed by getTitle(), and a boolean completed property by isCompleted(). JSP EL resolves those getters when evaluating todo.title and todo.completed. These property conventions are different from Spring’s bean-container terminology.
A concrete example
public String getTitle() { return title; }
public boolean isCompleted() { return completed; }In the application
The beginner Todo class has public getters used by both JSP views.
A plain JavaBean-style object is not automatically a Spring-managed bean. The terms describe different concepts.