Results 1 to 8 of 8
  1. #1
    Hema26 is offline Member
    Join Date
    Jun 2010
    Posts
    8
    Rep Power
    0

    Default Diff between POJO and Java Beans

    Hi friends
    can anyone pls explain me is there any difference between POJO and Java Bean?
    regards
    Hema26

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Didn't you search on the web about this?

    1. Unlike POJO, JavaBeans must implement in Serializable and have a no-argument constructor.
    2. JavaBeans is a Plain-Old-Java-Object that follows some simple coding conventions, which I think the most important point.

  3. #3
    Hema26 is offline Member
    Join Date
    Jun 2010
    Posts
    8
    Rep Power
    0

    Default

    thnx for reply. cud u pls explain me this line
    JavaBeans are reusable software components for Java that can be manipulated visually in a builder tool.
    i dont understand the term builder tool.
    regards
    Hema26

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Also stand for visual applications builders, like visual basic and stuff. In VB you can see forms and able to add controls, drag-drop. So typically such tools are GUI applications. Quite similar things could be done in other DIEs such as NetBeans, etc...

  5. #5
    Hema26 is offline Member
    Join Date
    Jun 2010
    Posts
    8
    Rep Power
    0

    Default

    thanx
    what is diff b/w the two statements
    String str="abc";
    String str=new String str("abc");

  6. #6
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

  7. #7
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,016
    Rep Power
    20

    Default

    ...and are you planning on asking every question in whatever text/quiz you have in front of you?

  8. #8
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. Diff program/library for Java
    By Singing Boyo in forum New To Java
    Replies: 0
    Last Post: 06-05-2010, 01:53 AM
  2. EJB3 Entity Bean, POJO, without annotations
    By dendroid66 in forum Enterprise JavaBeans (EJB)
    Replies: 0
    Last Post: 03-09-2009, 10:52 AM
  3. Java Locale Date Display Diff Format Prob
    By hemanthjava in forum Advanced Java
    Replies: 2
    Last Post: 03-05-2009, 02:05 PM
  4. How to make Beans Lazily-instantiating beans
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 03-30-2008, 10:10 AM
  5. How to make Beans Lazily-instantiating beans
    By JavaBean in forum Java Tip
    Replies: 0
    Last Post: 09-26-2007, 08: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
  •