This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
I was taking a mock test on Cameron McKenzie website, and i have one doubt with the following question Question is
The PortalContext: A. can provide a list of window states supported by the portal B. can provide a list of portlet modes supported by the portal C. provides access to the RequestDispatcher D. provides access to the portal logging mechanism
In my views the answer to this question should be C, D as PortletContext interface has methods which makes C, D as correct options. 1. getRequestDispatcher(String path) 2. getNamedDispatcher(String name) 3. log(String msg)
but the answer in the website says it should be A,B. I could not find any methods in PortletContext which could make optins A,B as true.
Can any one please help me with correct answer.
Also i want to appreciate and thank Cameron McKenzie for providing excellent demo and mock questions on Portlet 399 exam. Any one looking for a great source for this exam must definetly look at his website.
PMP, IBM Certified Solution Designer(OOAD), IBM Certified Solution Developer (Websphere Portal V5.1), SCEA (Only Part I), SCBCD, SCJP1.4, Brain Bench: J2EE 1.4, Brain Bench:Java 2
The question being asked is on PortalContext and not PortletContext. PortletContext provides the view on the portlet Application, while the PortalContext provides the view on the portal server in which the portlet application is running. The PortalContext provides information about the server like version information, the window states and portlet modes supported by the portal server.