• 2022-06-05
    Your web site has many user-customizable features, for example font and color preferences on web pages.Your IT department has already built a subsystem for user preferences using the Java SE platform’s lang.util.prefs package APIs, and you have been ordered to reuse this subsystem in your web application. Youneed to create an event listener that constructs the preferences factory and stores it in the applicationscope for later use. Furthermore, this factory requires that the URL to a database must be declared in thedeployment descriptor like this: 42. 43.prefsDbURL 44. 45.jdbc:pointbase:server://dbhost:4747/prefsDB 46. 47. Which partial listener class will accomplish this goal?()
    A:
    B:
    C:
    D:
  • 举一反三