Java Reference
In-Depth Information
Server
Java service (servlets)
Programming language (Java)
Name resolution (DNS)
Resource requests (HTTP)
DNS
Communication (TCP and IP)
Client
Communication (TCP and IP)
Hypertext transfer (HTTP)
Presentation (HTML)
Figure 2.1 Here are some of the layers an Internet application typically uses. On the client, the
browsers encapsulate layers for communication, message transfer, and presentation. Name
resolution is handled through DNS, and the server contains layers for communication, messaging,
and application program support.
use. Similarly, the architects of the Internet assumed that we are willing to
trade some of the power of each native platform for a least common denomi-
nator that allows open interoperability.
2.1.2
Layering can work against us
Students of antipatterns also know that an architect's assumptions can work
against them. A website you create using Access, Visual Basic, and FrontPage
can be ramped up quickly, but consider the disadvantages:
Maintenance is likely to be a challenge.
The site will be difficult to scale and extend.
You must deal with serious security risks.
The site's architecture may render it slow and unstable.
Search WWH ::




Custom Search