This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes java Beans    Vs    java objects Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "java Beans    Vs    java objects " Watch "java Beans    Vs    java objects " New topic
Author

java Beans Vs java objects

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1300
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
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
 
I agree. Here's the link: http://zeroturnaround.com/jrebel/download
 
subject: java Beans Vs java objects
 
Similar Threads
JDO and Entity Beans
how pojo is different from Normal Java Beans ?
Java Beans VS Data Transfer Objects
Does one need Experience ?
object vs java object