aspose file tools*
The moose likes Beginning Java and the fly likes Re: Java Bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Re: Java Bean" Watch "Re: Java Bean" New topic
Author

Re: Java Bean

Joe Cheung
Ranch Hand

Joined: Oct 18, 2002
Posts: 104
Dear all,
What is the major differnece between Java Bean and ordinary java class? Also, what is the difference between Enterprise Java Bean and Java Bean?
Regards,
Joe


Joe
Ashok C. Mohan
Ranch Hand

Joined: Dec 03, 2003
Posts: 75
JavaBean are classes which obey the contractwhich says, it should have a no argument public constructor, getter and setter methods should be there for private members etc.
You can download entire JavaBean specification from
Java Bean Specifications


SCJP 1.4
Do not dwell in the past, do not dream of the future, concentrate the mind on the present moment.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Re: Java Bean