Multiple choice technology packaged enterprise solutions

What are the action methods used in PSFramework ActionController?

  1. doInit(),doPageAction(),doUpdate()

  2. init(),service(),destroy()

  3. doInit(),doPageAction(),destroy()

  4. init(),service(),doUpdate()

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The PSFramework ActionController uses doInit(), doPageAction(), and doUpdate() as its primary action methods. This naming convention follows the framework's pattern where doInit handles initialization, doPageAction processes page submissions, and doUpdate handles data updates. Option B uses generic servlet lifecycle methods, C mixes destroy instead of doUpdate, and D doesn't follow the framework's do- prefix convention.

AI explanation

In this framework's ActionController, the lifecycle is driven by doInit() for initialization, doPageAction() for handling user actions on the page, and doUpdate() for persisting changes, mirroring a typical page-controller lifecycle. The init()/service()/destroy() trio belongs to the generic Servlet lifecycle, not this ActionController, which is why those distractor options are wrong.