Spring Part 2 Flashcards
Remove the _____ from the programming code
Dependency
Makes the applicationeasy to manage and test
Dependency
Makes our programming code loosely coupled
Dependency
It is an ordinary java object not bound by any special restriction other than those forced by the java language specification and not requiring any classpath
POJO
It is a special pojo which have some restrictions
Beans
It doesnt provide much control on members
Pojo
It provides complete control on members
Bean
It can implement serializable interface
Pojo
It should implement serializable interface
Bean
Fields can be accessed by their names
Pojo
Fields are accessed only by getters and setters
Bean
Fields can have any visibility
Pojo
Fields have only private visibility
Bean
There may/may not be a no arg constructor
Pojo
It must have a no arg constructor
Bean
It s used whenyou dont want to give restriction on your members and give user complete access of your entity
Pojo
It is used when you want to provide used your entity but only some part of your entity
Bean
Refers to the usage of an object by another object
Coupling
When an object creates the object to be used, then it is a __________ situation
Tight coupling
When an object gets the object to be used from the outside, then it is a ___________ situation
Loose coupling