Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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


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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: what is the difference between a java bean and a java class?
 
It's not a secret anymore!