What is a Java Bean?

Answer Posted / john doe

A Java Bean is a simple java file which contians Getters and
Setters. They are used to assign values to variables and
also retrieving them. This is to prevent the variables from
being manipulated directly by the user during any transaction.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many ejb objects are created for a bean?

710


What do you mean by timer service and where it is used?

727


Is it possible to write two ejb’s that share the same remote and home interfaces, and have different bean classes? If so, what are the advantages/disadvantages?

743


What are the system services of ejb container?

808


What is the difference between @requestparam and @pathvariable?

704


Is method overloading allowed in ejb?

757


What is the new basic requirement for a cmp entity bean class in 2.0 from that of ejb 1.1?

742


Are entity beans allowed to create() methods?

791


Is it legal to have static initializer blocks in ejb?

737


What are ejbs used for?

662


Why should we use ejb?

699


What is @autowired required false?

772


Write the basic requirement of a cmp entity based class in 2.0 from ejb 1.1?

774


What are the basic and subtypes of enterprise java beans (ejb)?

748


What is session bean in ejb?

705