title: Usage of Java Beans
body: <p>I'm new to java so I'm asking this although thing here might be obvious. Whats the real life usage of Java Beans. They are defined as reusable software component ,but only examples I could find use them as POJO in Jsp and Swing programing. Is it valid scenario to define bean that will do some complex calculation having user to set bean "properties" as parameters of that calculation? Can they expose other types that are not beans , primitive types trough their properties?</p>