File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes OO, Patterns, UML and Refactoring and the fly likes data transfer mechanism Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "data transfer mechanism" Watch "data transfer mechanism" New topic

data transfer mechanism

Jignesh Patel
Ranch Hand

Joined: Nov 03, 2001
Posts: 626


To get true modularity (independent) modules, what kind of data transfer mechanism you do recommend?

Does the book covers this aspect?

Kirk Knoernschild
Ranch Hand

Joined: Apr 16, 2012
Posts: 41
I assume you mean modules that rely on the same set of data, right? I do not talk explicitly about data transfer. But in several of the examples, you'll see how state is passed from one module to another. One way to do this is through configuration (external configuration pattern). The extensibility patterns also talk about ways to make a module's behavior extensible. And state could easily be part of that behavior.

But this is a wonderful question because I simply present 18 modularity patterns. There are certainly other patterns out there. As I point out in the very first section of the book, I hope we see idioms emerge that show how to apply these patterns in different languages and using different module frameworks. I hope that we'll see tool support emerge that encourages modular design. And I hope that as others discover patterns that encourage modularity, they'll share them with us.

Visit the book's website at where you can review all 18 patterns and download an excerpt of the book. There is also a mobile web application available that you can take with you wherever you go.

I agree. Here's the link:
subject: data transfer mechanism
It's not a secret anymore!