In this chapter, you will learn about how to write fast and efficient Java EE based web applications and services by the use of some common design and tuning techniques.
From a bird's eye view, all web applications can arguably and roughly be divided into the following two broad areas:
Business-to-Consumer (B2C) applications: In these applications, the user interacts through a User Interface (UI), usually in a browser, with server-side business logic and data that often resides in one or more legacy systems. The typical archetype of a B2C application based on Java EE is engineered using dynamic web pages (JSP/servlets) and/or frameworks based on a component-driven UI design model (JSF). WebSockets is a new and exciting player in this field.
Business-to-Business (B2B) applications: These typically involve the exchange of information between businesses with legacy systems and makes use of Service Oriented Architecture (SOA). They are also common...