File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes java Beans    Vs    java objects Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "java Beans    Vs    java objects " Watch "java Beans    Vs    java objects " New topic

java Beans Vs java objects

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1371
What is the differnce between java Beans and java objects ?
Ko Ko Naing
Ranch Hand

Joined: Jun 08, 2002
Posts: 3178
JavaBeans possess the following properties...
-Private fields, which cannot be called by other classes
-Public Getters/Setters to get access to private fields of the JavaBeans
-Other Utility methods

But Java Objects is any instance of a Java class. Some may not possess the above properties of JavaBeans, while some may. In the other words, JavaBeans is a subset of Java objects...

Hope it helps...

Co-author of SCMAD Exam Guide, Author of JMADPlus
I agree. Here's the link:
subject: java Beans Vs java objects
Similar Threads
how pojo is different from Normal Java Beans ?
object vs java object
JDO and Entity Beans
Java Beans VS Data Transfer Objects
Does one need Experience ?