• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Are all Java Objects POJO's?

 
Nancy O'Connell
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If POJO is a "Plain Old Java Object", how is it different than any Java Object? I've read that POJO's are different because they do not follow any typical models or conventions, but is that the only difference? I look forward to reading your book - it sounds very interesting.
 
Chris Richardson
author
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nancy,

See the post I made in http://www.coderanch.com/t/216003/ORM/java/Chris-Richardson-do-you-call

The idea of a POJO is pretty simple (no special interfaces etc) but it has huge benefits including simpler, and faster development. Using POJOS also increases your application's immunity to the problems caused by some enterprise Java framework evolving rapidly and incompatibly.

Chris
 
Nancy O'Connell
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Chris,
Thanks for your reply. I think I need to read through your book to get a through understanding of POJO's - but your answer helped clarify what they are and are not...

Thanks again.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic