PrepAway - Latest Free Exam Questions & Answers

How can Arthur resolve this problem for optimal performance?

Arthur developed two portlet applications to support the same event– the choosePerson event.
This event uses the “http://example.ibm.com/portlets” namespace, and its payload type is the
com.ibm.example .Person class. Arthur deployed one portlet from each portlet application to the
same portal page. He also wired one portlet (Portlet A) as the event source and the other portlet
(Portlet B) as the event target. When Arthur tests the portlet communication, he does not see that
the com. ibm. example. Person object was transferred to Portlet B after the event was fired from
Portlet A. How can Arthur resolve this problem for optimal performance?

PrepAway - Latest Free Exam Questions & Answers

A.
Ensure that “http://example.ibm.com/portlets” namespace is specified as the direct namespace
for the event declaration for both portlet.xml files, rather than the default namespace for each
portlet.xml file.

B.
Ensure that the “Global” check box is selected on the Wire Configuration page.

C.
Update the com. ibm. example. Per son class to support serialization and XML serialization by
adding JAXB annotations.

D.
Move the com. ibm. example. Person class out of the two web archive (WAR) files and into an
IBM WebSphere Application Server shared library that is used by both WAR files.


Leave a Reply