Frage im Vorstellungsgespräch bei IBM

What is a bean? How do you take the data from the database using Spring?