• Post Reply Bookmark Topic Watch Topic
  • New Topic

POJOS,Domain Objects, Transfer Object  RSS feed

 
seshu Palamanti
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Every one,
What are the differences between these three types of Objects....POJOS,Domain Objects,Transfer Objects...cause they all have data types and hav set and get methods.

Any help will be appreciable.

Thanks

Regards
Seshu
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Domain Objects are things we talk about during analysis, while trying to figure out the problem we're solving. Your users or customers understand these terms and relationships. As you do software design, some of them survive into the object model and some don't, and we add other implementation-specific classes.

POJO is Plain Old Java Object which means it does not depend on any particular framework. I think it originated as a way to indicate classes in an EJB server that are not Session Beans, Entity Beans, etc. We use a vendor framework and use POJO to mean something that does not extend any vendor classes.

Transfer Object is one of the Sun J2EE Patterns. Read up on it there.

Does that help?
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"seshu,"

Maybe you missed this warning in another forum. Please revise your display name to meet the JavaRanch Naming Policy, which requires a first and last name. (It was fine before as "seshu palmanti.")

Thanks!
 
seshu Palamanti
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply Mr. Stan James it was quite useful...and i will update my last name too Mr. Marc weber ...to meet up with forum's policies.

Thanks again for all your help
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!