3 ms·
It’s a standard and it’s similar to a naming convention, but instead applied to class structures. Instead of extending/implementing some strange, third-party c
by kaba0 4y ago
It’s a standard and it’s similar to a naming convention, but instead applied to class structures.
Instead of extending/implementing some strange, third-party classes, you create a POJO (plain old java object) and you add getters and setters for the fields you want to make externally reachable.
Now tools that don’t know anything about your code can use them through reflection based on these conventions, this is how dependency injection, JPA, every Java EE/Spring thing operate.