As I dive deeper into studying this framework, I am starting to understand how Dependency Injection (DI) works. The examples I have come across mostly showcase hard-coded values being referenced, but not really explain the flow from UI to database. In a real-world application integrated with an AJAX framework, I'm curious about how user input actually reaches the beans.
If my understanding is correct, does JavaScript make a call to the container to locate the function (through mapping), setters are then used to assign user input values to the bean (POJO) classes, and finally, already injected beans utilize these values to carry out operations? I want clarity on the entire process and the distinct roles of each technology in transferring data from the UI to beans for completing transactions.