276 Patterns: Pervasive and Rich Device Access Solutions
2. Create an array of subscription beans by calling the getSubscriptions()
method of the subscription manager class.
SubscriptionBean[] subBeans =
subManager.getSubscriptions(contentSource, myKeys);
3. Cache the array of subscription beans. The doModify() method later retrieves
the array from the portlet session in order to determine which subscription
bean to modify.
To override any of the "mode" methods, register the corresponding JSP to be
displayed by the portlet. For example:
includeJSP("/WEB-INF/INS/NewsSubscriptionView.jsp",request, response);
If you want to perform more specific actions than the default actions of the
superclass, you must override the actionPerformed() method o