WebSphere Commerce uses JSP technology to build dynamic content for online display from the database. WebSphere Application Server provides the run-time support for JSP files. The data beans used by the JSP files retrieve product and category information from the database.
The following diagram shows the main components of the WebSphere Commerce Server using JSP display technology:
The WebSphere Commerce Server uses JSP files in the following way:
- The Web server plug-in parses HTTP requests, routes the requests to the WebSphere Commerce Server, and performs workload balancing functions.
- The WebSphere Commerce Server processes the incoming request and invokes a JSP file as a response.
- The data bean is placed in a JSP file.
- The enterprise access bean converts an enterprise bean into a Java bean for use in a JSP file.
- The JSP file run-time engine builds and returns an HTML page.
- The enterprise bean provides database access.