This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes what is the difference between a java bean and a java class? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "what is the difference between a java bean and a java class?" Watch "what is the difference between a java bean and a java class?" New topic
Author

what is the difference between a java bean and a java class?

senthil sen
Ranch Hand

Joined: Oct 10, 2002
Posts: 184
what is the difference a java bean and a ordinary java class???
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Java Beans are just classes that meet specific criteria. They are reusable components that are well encapsulated (so their variables are private and they have getters and setters), and have properties and use events to comunicate etc.
JavaBean Tutorial
Not to be confused with Enterprise JavaBeans.


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what is the difference between a java bean and a java class?
 
Similar Threads
Java class and Java Bean
Re: Java Bean
Java
Difference between Java Bean and Java Class
what is the difference between introspection and a reflection??