This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Java in General and the fly likes Java Bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Java Bean" Watch "Java Bean" New topic

Java Bean

suman deb
Ranch Hand

Joined: Jul 14, 2005
Posts: 54
What is the speiality of a bean?what is the diff. between a bean & a simple java class? why is it called bean
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15037

Have a look at this:
Java Beans Tutorial

A Java bean is not a lot different from any other Java class. Java beans were originally invented as reusable user interface components, but they are often used for other things too.

Essentially a Java bean is just a Java class with some member variables and getter and setter methods for those member variables.
[ October 04, 2005: Message edited by: Jesper de Jong ]

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Consider Paul's rocket mass heater.
subject: Java Bean
jQuery in Action, 3rd edition