Barclays Interview Question

What are beans (java)