234 Patterns: Pervasive and Rich Device Access Solutions
This portlet is the controller and receives the HTTP requests. It selects the
appropriate View JSP depending on the user agent field. The PDA View JSP
is for PDA browsers and the HTML View JSP is for full HTML browsers.
ITSORailwayInventoryViewBean
The view bean saves the action URI and the actions that are performed on
the form for later evaluation.
ITSORailwayInventorySessionBean
The session bean captures the data entered in the form after the form was
submitted. For our example, the database access to the ITSO Railway
Inventory system is also included in here.
Furthermore, two JSPs, one for each supported browser type (PDA or HTML),
must be available to provide the appropriate HT