3 ms·
I have worked with Java for a year or so and I don’t know what a bean is.
by pwdisswordfish9 4y ago
I have worked with Java for a year or so and I don’t know what a bean is.
- kaba0 4y agoIt’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.
- cutler 4y agoThen you ain't drinkin' the coffee.