What are beans in java programming?Is having an understanding of Struts vital for learning Spring?
What are beans in java programming?Is having an understanding of Struts vital for learning
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
That depends.
You could be talking about Spring beans, Enterprise Java Beans or some other variant.
The general answer is that beans are some type of generic object (or POJO perhaps) that hold information – almost think of them like their own data type. The distinction is that they typically don’t have much in the way of behaviors eg, they only have: simple fields, getters, setters.