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?()
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 Java SE’s lang.util.prefspackage APIs and you have been ordered to reuse this subsystem in your web application. You need tocreate an event listener that stores the user’s Preference object when an HTTP session is created. Also,note that user identification information is stored in an HTTP cookie. Which partial listener class canaccomplish this goal?()