Application Architecture

The stock trading application accepts SOAP requests and then uses Enterprise JavaBeans (EJB) to store the various orders and completed trades. The EJB back-end consists of a stateful session bean and a number of entity beans. The StockTrading SOAP object sits between the users and the session bean, providing the transition between SOAP and EJB, as well as keeping track of the session tokens. Figure 21.1 shows the major components of the system.

Figure 21.1. The stock trading application uses SOAP and Enterprise JavaBeans.

Get Java™ Web Services Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.