Results 1 to 3 of 3
  1. #1
    new_coder is offline Member
    Join Date
    Aug 2009
    Posts
    17
    Rep Power
    0

    Default Difference between a bean and a simple class

    Hi,

    I cannot undestand what is the exact difference between a bean and a simple class in java with getter and setter methods. Can someone please explain? I just read the Complete Reference, and I could not understand what exactly a bean is.

    Thanks

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    25

    Default

    A bean is nothing more than a simple Java class that conforms to the bean specifications. You can find these specifications in mult sites including at the Sun Java site and at Wikipedia.

  3. #3
    quad64bit's Avatar
    quad64bit is offline Moderator
    Join Date
    Jul 2009
    Location
    VA
    Posts
    1,323
    Rep Power
    6

Similar Threads

  1. Replies: 6
    Last Post: 02-11-2009, 10:51 AM
  2. Replies: 1
    Last Post: 01-29-2009, 09:35 AM
  3. Replies: 1
    Last Post: 11-12-2008, 03:43 PM
  4. Bean class error
    By impact in forum Java Servlet
    Replies: 5
    Last Post: 08-16-2008, 03:46 PM
  5. A simple generic class
    By Java Tip in forum java.lang
    Replies: 0
    Last Post: 04-17-2008, 07:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •