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

Unregistered




Wich are the clients?
      #47140 - 05/11/07 02:27 AM

It seems I don't get it... though I understand and apreciate the idea of delegation and minimizing getters and setters, the builder example seems like overhead to me. To avoid having to change code in every "client class" when I change mi logic class, I instead create a number of builders and exporters for that class, practically one for each GUI I need, then I only have to change those builders and exporters. As far as I have seen, the number of final clients will be one for each exporter/builder pair (a GUI component for example, that I can reuse).

Right, so this only makes sense if I will have more than several such clients for each type of importer/exporter. Or not? I'm I missing something. So finally, if this is not the case I'm only putting a kind of firewall class between real interface and the object, but the number of coupling is the same.

Also, about passing information in strings, I do neet to know wich information the string carries and in wich format to make something usefull of it (unless of course if I want to display it unchanged).


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: 4285

Rate this topic

Jump to

Contact us JavaWorld

Powered by UBB.threads™ 6.5.5