Please join us at the new JavaWorld Q&A Forums. Your existing login will work there. The discussions here are now read-only.


JavaWorld Talkback >> 958783

Pages: 1
JStull
Unregistered




Top to Bottom
      #5189 - 01/05/04 02:24 PM

Interesting and certainly more OO than the getter/setter paradigm. Allen, would you be willing to provide a complete so called "Domain Object" example of Employee which includes both UI and persistence logic (ie, an Employee entity bean). I'd like to see how this could be applied in the J2EE world. Anybody, else too. I am so firmly stuck in getter/setter mode, that it's not comming to me now...

Post Extras: Print Post   Remind Me!   Notify Moderator  
Anonymous
Unregistered




Re: Top to Bottom [Re: JStull]
      #5359 - 01/18/04 02:20 PM

This article was really interesting! Getters and setters have been bothering me for a long time. Thank you for showing better way.

Anyway, I agree with earlier post. I'd like to see real world examples how OO systems are constructed.

Currently all mainstream Java web frameworks such as Struts, Spring, WebWork, Maverick etc. seem to support/encourage JavaBean style getter/setter programming. Clearly, we need alternatives.



Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 1 anonymous users are browsing this forum.

Moderator:   

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 5396

Rate this topic

Jump to

Contact us JavaWorld

Powered by UBB.threads™ 6.5.5