Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Beans, Business Objects, & DTO's... What's the difference?

843841Jun 4 2003 — edited Jun 5 2003
The subject really says it all. From what I can gather, the three have the same basic structure, but named differently depending on what context they are used? For instance, could the following class be any of the three:
public class Person {
  private String name;

  public void setName( String name ) {
      this.name = name;
  }

  public String getName ( ) {
      return ( this.name );
  }
}
Is my understanding correct?

Thanks,
Isaac
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 3 2003
Added on Jun 4 2003
3 comments
180 views