Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 5.  Introducing the Bank Example > Sketching a Rough Architecture

5.2. Sketching a Rough Architecture

The first thing to do when building a distributed application is sketch a rough architecture. The key words here are sketch and rough. We’re talking about a preliminary design at the level of the architectural diagrams used in the previous chapters. And even though doing this can be difficult, there are several facts that help you out:

  • There are really only four or five different distributed application architectures. Most distributed applications look fairly similar to each other.

  • You’re using Java and RMI. This narrows down some design choices for you and helps you make design decisions.

  • You don’t actually have to get it right. Rough architectures are not cast in stone; they help you focus and narrow the rest of the design, turning vast and open-ended questions into things that are easier to think about. In particular, they let you place pieces of functionality at various points on the network, and help you design the remote interfaces. This effectively turns the task of designing a distributed application into the task of designing single-process components.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial