
14 Developing Applications for J2EE Servers
Client-server applications
Here’s the diagram from the previous chapter showing the multiple tiers used in most
J2EE applications:
The diagram shows you all the different types of entities found on each tier, but it
doesn’t show you the common ways J2EE applications combine these technologies to
create reliable, scalable, and easily distributed applications.
Client-server applications
Before looking at multi-tier J2EE models, consider the old standard, the two-tier client-
server model. Using J2EE technologies does not preclude you from creating client-
server applications. Client-server applications omit the middle tier shown in the multi-
tier application diagram. While the client-server model scales poorly and maintaining
and distributing such applications is more difficult, sometimes a Java client on a
desktop that accesses the data of the company directly is all you really need.
The Java client can contain both the presentation and business logic, although it’s
possible one application could handle the presentation tasks while another could
Comentarios a estos manuales